diff options
author | Tony Luck <tony.luck@intel.com> | 2008-10-17 16:51:28 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2008-10-17 16:51:28 -0400 |
commit | 22ca532a4d137545244fdff0b687325fd4e13eae (patch) | |
tree | 459f5116344c71d13d860f4fd9f0c2c477df268a /arch/ia64/kernel/acpi.c | |
parent | 9224652cc76417bfe779bcdb1243cf0b083e3eee (diff) | |
parent | f8d1f99f3958c46cdc983743d75d0b31b9accb80 (diff) |
Pull pv_ops-xen into release branch
Diffstat (limited to 'arch/ia64/kernel/acpi.c')
-rw-r--r-- | arch/ia64/kernel/acpi.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/ia64/kernel/acpi.c b/arch/ia64/kernel/acpi.c index 5d1eb7ee2bf6..00936491933e 100644 --- a/arch/ia64/kernel/acpi.c +++ b/arch/ia64/kernel/acpi.c | |||
@@ -52,6 +52,7 @@ | |||
52 | #include <asm/numa.h> | 52 | #include <asm/numa.h> |
53 | #include <asm/sal.h> | 53 | #include <asm/sal.h> |
54 | #include <asm/cyclone.h> | 54 | #include <asm/cyclone.h> |
55 | #include <asm/xen/hypervisor.h> | ||
55 | 56 | ||
56 | #define BAD_MADT_ENTRY(entry, end) ( \ | 57 | #define BAD_MADT_ENTRY(entry, end) ( \ |
57 | (!entry) || (unsigned long)entry + sizeof(*entry) > end || \ | 58 | (!entry) || (unsigned long)entry + sizeof(*entry) > end || \ |
@@ -121,6 +122,8 @@ acpi_get_sysname(void) | |||
121 | return "uv"; | 122 | return "uv"; |
122 | else | 123 | else |
123 | return "sn2"; | 124 | return "sn2"; |
125 | } else if (xen_pv_domain() && !strcmp(hdr->oem_id, "XEN")) { | ||
126 | return "xen"; | ||
124 | } | 127 | } |
125 | 128 | ||
126 | return "dig"; | 129 | return "dig"; |
@@ -137,6 +140,8 @@ acpi_get_sysname(void) | |||
137 | return "uv"; | 140 | return "uv"; |
138 | # elif defined (CONFIG_IA64_DIG) | 141 | # elif defined (CONFIG_IA64_DIG) |
139 | return "dig"; | 142 | return "dig"; |
143 | # elif defined (CONFIG_IA64_XEN_GUEST) | ||
144 | return "xen"; | ||
140 | # else | 145 | # else |
141 | # error Unknown platform. Fix acpi.c. | 146 | # error Unknown platform. Fix acpi.c. |
142 | # endif | 147 | # endif |