diff options
author | Len Brown <len.brown@intel.com> | 2007-02-15 22:11:48 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-02-15 22:19:17 -0500 |
commit | fc955f670c0a66aca965605dae797e747b2bef7d (patch) | |
tree | 2c7c8b9d1597d2756114189e11f07cd21d8a6db2 /drivers/acpi | |
parent | 70c0846e430881967776582e13aefb81407919f1 (diff) | |
download | op-kernel-dev-fc955f670c0a66aca965605dae797e747b2bef7d.zip op-kernel-dev-fc955f670c0a66aca965605dae797e747b2bef7d.tar.gz |
ACPI: remove acpi_os_readable(), acpi_os_writable()
...which are now unused
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/osl.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index 63060a1..99d6c51 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c @@ -890,26 +890,6 @@ u32 acpi_os_get_line(char *buffer) } #endif /* ACPI_FUTURE_USAGE */ -/* Assumes no unreadable holes inbetween */ -u8 acpi_os_readable(void *ptr, acpi_size len) -{ -#if defined(__i386__) || defined(__x86_64__) - char tmp; - return !__get_user(tmp, (char __user *)ptr) - && !__get_user(tmp, (char __user *)ptr + len - 1); -#endif - return 1; -} - -#ifdef ACPI_FUTURE_USAGE -u8 acpi_os_writable(void *ptr, acpi_size len) -{ - /* could do dummy write (racy) or a kernel page table lookup. - The later may be difficult at early boot when kmap doesn't work yet. */ - return 1; -} -#endif - acpi_status acpi_os_signal(u32 function, void *info) { switch (function) { |