aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2008-12-30 22:44:33 -0500
committerLen Brown <len.brown@intel.com>2008-12-30 22:52:26 -0500
commit087da3b4e2d7d3ef70a4fa649b9a286fdeb0e44e (patch)
treee078d81b7d34c4352fe50a26974e067328bf0141 /include
parent39488b041e2fdc206b3de4517b8f220ae07b2a20 (diff)
downloadkernel_samsung_espresso10-087da3b4e2d7d3ef70a4fa649b9a286fdeb0e44e.zip
kernel_samsung_espresso10-087da3b4e2d7d3ef70a4fa649b9a286fdeb0e44e.tar.gz
kernel_samsung_espresso10-087da3b4e2d7d3ef70a4fa649b9a286fdeb0e44e.tar.bz2
ACPI: simplify buffer management for acpi_pci_bind() etc.
use ACPI_ALLOCATE_BUFFER to remove the allocations within acpi_pci_bind(), acpi_pci_unbind() and acpi_pci_bind_root(). While there, delete some unnecessary param inits from those routines. Delete concept of ACPI_PATHNAME_MAX, since this was the last use. Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/acpi/platform/aclinux.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h
index 0515e75..9116c98 100644
--- a/include/acpi/platform/aclinux.h
+++ b/include/acpi/platform/aclinux.h
@@ -70,9 +70,6 @@
#define ACPI_EXPORT_SYMBOL(symbol) EXPORT_SYMBOL(symbol);
#define strtoul simple_strtoul
-/* Full namespace pathname length limit - arbitrary */
-#define ACPI_PATHNAME_MAX 256
-
#else /* !__KERNEL__ */
#include <stdarg.h>