X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=drivers%2Facpi%2Ftables.c;h=31d4f3ffc265b5b2d28055ea1eaec5b317c8f5d4;hb=bc61b0102a53ee0ced3a8747cd4afe656a453756;hp=a2bf25b05e1c08156d77571505e162c51fbc7075;hpb=27a639a92d3289c4851105efcbc2f8b88969194f;p=powerpc.git diff --git a/drivers/acpi/tables.c b/drivers/acpi/tables.c index a2bf25b05e..31d4f3ffc2 100644 --- a/drivers/acpi/tables.c +++ b/drivers/acpi/tables.c @@ -37,7 +37,7 @@ #define PREFIX "ACPI: " -#define ACPI_MAX_TABLES 256 +#define ACPI_MAX_TABLES 128 static char *acpi_table_signatures[ACPI_TABLE_COUNT] = { [ACPI_TABLE_UNKNOWN] = "????", @@ -74,7 +74,7 @@ struct acpi_table_sdt { static unsigned long sdt_pa; /* Physical Address */ static unsigned long sdt_count; /* Table count */ -static struct acpi_table_sdt sdt_entry[ACPI_MAX_TABLES]; +static struct acpi_table_sdt sdt_entry[ACPI_MAX_TABLES] __initdata; void acpi_table_print(struct acpi_table_header *header, unsigned long phys_addr) {