View | Details | Raw Unified | Return to bug 3774 | Differences between
and this patch

Collapse All | Expand All

(-)a/drivers/acpi/osl.c.orig (-1 / +10 lines)
Lines 68-73 Link Here
68
static OSD_HANDLER acpi_irq_handler;
68
static OSD_HANDLER acpi_irq_handler;
69
static void *acpi_irq_context;
69
static void *acpi_irq_context;
70
70
71
extern unsigned char AmlCode[];
72
extern unsigned char AmlCode2[];
71
73
72
acpi_status
74
acpi_status
73
acpi_os_initialize(void)
75
acpi_os_initialize(void)
Lines 237-243 Link Here
237
	if (!existing_table || !new_table)
238
	if (!existing_table || !new_table)
238
		return AE_BAD_PARAMETER;
239
		return AE_BAD_PARAMETER;
239
240
240
	*new_table = NULL;
241
	if (strncmp(existing_table->signature, "DSDT", 4) == 0)
242
		*new_table = (struct acpi_table_header *) AmlCode;
243
	else
244
		*new_table = NULL;
245
	if (strncmp(existing_table->signature, "SSDT", 4) == 0)
246
		*new_table = (struct acpi_table_header *) AmlCode2;
247
	else
248
		*new_table = NULL;
241
	return AE_OK;
249
	return AE_OK;
242
}
250
}
243
251

Return to bug 3774