Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
90e20da1
Commit
90e20da1
authored
Sep 03, 2002
by
Andy Grover
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove obsolete OSL functions (Kochi Takayoshi)
parent
7fae3db3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
71 deletions
+2
-71
drivers/acpi/include/acpiosxf.h
drivers/acpi/include/acpiosxf.h
+0
-20
drivers/acpi/osl.c
drivers/acpi/osl.c
+2
-51
No files found.
drivers/acpi/include/acpiosxf.h
View file @
90e20da1
...
@@ -261,10 +261,6 @@ acpi_os_writable (
...
@@ -261,10 +261,6 @@ acpi_os_writable (
void
*
pointer
,
void
*
pointer
,
u32
length
);
u32
length
);
u32
acpi_os_get_timer
(
void
);
acpi_status
acpi_status
acpi_os_signal
(
acpi_os_signal
(
u32
function
,
u32
function
,
...
@@ -284,10 +280,6 @@ acpi_os_vprintf (
...
@@ -284,10 +280,6 @@ acpi_os_vprintf (
const
NATIVE_CHAR
*
format
,
const
NATIVE_CHAR
*
format
,
va_list
args
);
va_list
args
);
void
acpi_os_redirect_output
(
void
*
destination
);
/*
/*
* Debug input
* Debug input
...
@@ -298,16 +290,4 @@ acpi_os_get_line (
...
@@ -298,16 +290,4 @@ acpi_os_get_line (
NATIVE_CHAR
*
buffer
);
NATIVE_CHAR
*
buffer
);
/*
* Debug
*/
void
acpi_os_dbg_assert
(
void
*
failed_assertion
,
void
*
file_name
,
u32
line_number
,
NATIVE_CHAR
*
message
);
#endif
/* __ACPIOSXF_H__ */
#endif
/* __ACPIOSXF_H__ */
drivers/acpi/osl.c
View file @
90e20da1
...
@@ -134,16 +134,6 @@ acpi_os_allocate(ACPI_SIZE size)
...
@@ -134,16 +134,6 @@ acpi_os_allocate(ACPI_SIZE size)
return
kmalloc
(
size
,
GFP_KERNEL
);
return
kmalloc
(
size
,
GFP_KERNEL
);
}
}
void
*
acpi_os_callocate
(
ACPI_SIZE
size
)
{
void
*
ptr
=
acpi_os_allocate
(
size
);
if
(
ptr
)
memset
(
ptr
,
0
,
size
);
return
ptr
;
}
void
void
acpi_os_free
(
void
*
ptr
)
acpi_os_free
(
void
*
ptr
)
{
{
...
@@ -523,37 +513,6 @@ acpi_os_read_pci_configuration (
...
@@ -523,37 +513,6 @@ acpi_os_read_pci_configuration (
#endif
/*CONFIG_ACPI_PCI*/
#endif
/*CONFIG_ACPI_PCI*/
acpi_status
acpi_os_load_module
(
char
*
module_name
)
{
ACPI_FUNCTION_TRACE
(
"os_load_module"
);
if
(
!
module_name
)
return_ACPI_STATUS
(
AE_BAD_PARAMETER
);
if
(
request_module
(
module_name
)
<
0
)
{
ACPI_DEBUG_PRINT
((
ACPI_DB_WARN
,
"Unable to load module [%s].
\n
"
,
module_name
));
return_ACPI_STATUS
(
AE_ERROR
);
}
return_ACPI_STATUS
(
AE_OK
);
}
acpi_status
acpi_os_unload_module
(
char
*
module_name
)
{
if
(
!
module_name
)
return
AE_BAD_PARAMETER
;
/* TODO: How on Linux? */
/* this is done automatically for all modules with
use_count = 0, I think. see: MOD_INC_USE_COUNT -ASG */
return
AE_OK
;
}
/*
/*
* See acpi_os_queue_for_execution()
* See acpi_os_queue_for_execution()
...
@@ -695,9 +654,10 @@ acpi_os_create_semaphore(
...
@@ -695,9 +654,10 @@ acpi_os_create_semaphore(
ACPI_FUNCTION_TRACE
(
"os_create_semaphore"
);
ACPI_FUNCTION_TRACE
(
"os_create_semaphore"
);
sem
=
acpi_os_
c
allocate
(
sizeof
(
struct
semaphore
));
sem
=
acpi_os_allocate
(
sizeof
(
struct
semaphore
));
if
(
!
sem
)
if
(
!
sem
)
return_ACPI_STATUS
(
AE_NO_MEMORY
);
return_ACPI_STATUS
(
AE_NO_MEMORY
);
memset
(
sem
,
0
,
sizeof
(
struct
semaphore
));
sema_init
(
sem
,
initial_units
);
sema_init
(
sem
,
initial_units
);
...
@@ -913,12 +873,3 @@ acpi_os_signal (
...
@@ -913,12 +873,3 @@ acpi_os_signal (
return
AE_OK
;
return
AE_OK
;
}
}
acpi_status
acpi_os_breakpoint
(
NATIVE_CHAR
*
msg
)
{
acpi_os_printf
(
"breakpoint: %s"
,
msg
);
return
AE_OK
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment