aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel/acpi.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ia64/kernel/acpi.c')
-rw-r--r--arch/ia64/kernel/acpi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/ia64/kernel/acpi.c b/arch/ia64/kernel/acpi.c
index ef2fe474f107..aa6f96720984 100644
--- a/arch/ia64/kernel/acpi.c
+++ b/arch/ia64/kernel/acpi.c
@@ -76,7 +76,7 @@ const char *acpi_get_sysname(void)
76{ 76{
77#ifdef CONFIG_IA64_GENERIC 77#ifdef CONFIG_IA64_GENERIC
78 unsigned long rsdp_phys; 78 unsigned long rsdp_phys;
79 struct acpi20_table_rsdp *rsdp; 79 struct acpi_table_rsdp *rsdp;
80 struct acpi_table_xsdt *xsdt; 80 struct acpi_table_xsdt *xsdt;
81 struct acpi_table_header *hdr; 81 struct acpi_table_header *hdr;
82 82
@@ -87,8 +87,8 @@ const char *acpi_get_sysname(void)
87 return "dig"; 87 return "dig";
88 } 88 }
89 89
90 rsdp = (struct acpi20_table_rsdp *)__va(rsdp_phys); 90 rsdp = (struct acpi_table_rsdp *)__va(rsdp_phys);
91 if (strncmp(rsdp->signature, RSDP_SIG, sizeof(RSDP_SIG) - 1)) { 91 if (strncmp(rsdp->signature, ACPI_SIG_RSDP, sizeof(ACPI_SIG_RSDP) - 1)) {
92 printk(KERN_ERR 92 printk(KERN_ERR
93 "ACPI 2.0 RSDP signature incorrect, default to \"dig\"\n"); 93 "ACPI 2.0 RSDP signature incorrect, default to \"dig\"\n");
94 return "dig"; 94 return "dig";
@@ -96,7 +96,7 @@ const char *acpi_get_sysname(void)
96 96
97 xsdt = (struct acpi_table_xsdt *)__va(rsdp->xsdt_address); 97 xsdt = (struct acpi_table_xsdt *)__va(rsdp->xsdt_address);
98 hdr = &xsdt->header; 98 hdr = &xsdt->header;
99 if (strncmp(hdr->signature, XSDT_SIG, sizeof(XSDT_SIG) - 1)) { 99 if (strncmp(hdr->signature, ACPI_SIG_XSDT, sizeof(ACPI_SIG_XSDT) - 1)) {
100 printk(KERN_ERR 100 printk(KERN_ERR
101 "ACPI 2.0 XSDT signature incorrect, default to \"dig\"\n"); 101 "ACPI 2.0 XSDT signature incorrect, default to \"dig\"\n");
102 return "dig"; 102 return "dig";