diff options
author | Tony Luck <tony.luck@intel.com> | 2010-02-26 15:04:22 -0500 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2010-02-26 15:04:22 -0500 |
commit | 65c9bb6cca78a3677c66c6b279d5d77aa863bb32 (patch) | |
tree | 626345aac319521905213bf249554c0c7aaa44d6 /arch/ia64/include | |
parent | 8d6339b8a532ec4eeb31db321cf1e6068965deda (diff) | |
parent | e72aca30837d9c0ee287d18a092fc76a38a3b81d (diff) |
Pull alex into release branch
Diffstat (limited to 'arch/ia64/include')
-rw-r--r-- | arch/ia64/include/asm/acpi.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/ia64/include/asm/acpi.h b/arch/ia64/include/asm/acpi.h index e97b255d97b..d3b48305a08 100644 --- a/arch/ia64/include/asm/acpi.h +++ b/arch/ia64/include/asm/acpi.h | |||
@@ -99,7 +99,32 @@ ia64_acpi_release_global_lock (unsigned int *lock) | |||
99 | #define acpi_processor_cstate_check(x) (x) /* no idle limits on IA64 :) */ | 99 | #define acpi_processor_cstate_check(x) (x) /* no idle limits on IA64 :) */ |
100 | static inline void disable_acpi(void) { } | 100 | static inline void disable_acpi(void) { } |
101 | 101 | ||
102 | #ifdef CONFIG_IA64_GENERIC | ||
102 | const char *acpi_get_sysname (void); | 103 | const char *acpi_get_sysname (void); |
104 | #else | ||
105 | static inline const char *acpi_get_sysname (void) | ||
106 | { | ||
107 | # if defined (CONFIG_IA64_HP_SIM) | ||
108 | return "hpsim"; | ||
109 | # elif defined (CONFIG_IA64_HP_ZX1) | ||
110 | return "hpzx1"; | ||
111 | # elif defined (CONFIG_IA64_HP_ZX1_SWIOTLB) | ||
112 | return "hpzx1_swiotlb"; | ||
113 | # elif defined (CONFIG_IA64_SGI_SN2) | ||
114 | return "sn2"; | ||
115 | # elif defined (CONFIG_IA64_SGI_UV) | ||
116 | return "uv"; | ||
117 | # elif defined (CONFIG_IA64_DIG) | ||
118 | return "dig"; | ||
119 | # elif defined (CONFIG_IA64_XEN_GUEST) | ||
120 | return "xen"; | ||
121 | # elif defined(CONFIG_IA64_DIG_VTD) | ||
122 | return "dig_vtd"; | ||
123 | # else | ||
124 | # error Unknown platform. Fix acpi.c. | ||
125 | # endif | ||
126 | } | ||
127 | #endif | ||
103 | int acpi_request_vector (u32 int_type); | 128 | int acpi_request_vector (u32 int_type); |
104 | int acpi_gsi_to_irq (u32 gsi, unsigned int *irq); | 129 | int acpi_gsi_to_irq (u32 gsi, unsigned int *irq); |
105 | 130 | ||