diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-01 13:14:46 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-01 13:14:46 -0500 |
commit | d03ab7ff335b7fbf48d0fd28ead5d7957798510b (patch) | |
tree | 5a1080b6f51a51fd515a61c518d46f7f2676c139 /arch/ia64/include/asm/acpi.h | |
parent | 8098a7ef8946169cf8ffeb6f4d8130fc3651192e (diff) | |
parent | 4d86e1b18d6de8446aa424b615b34e436d42c241 (diff) |
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
[IA64] wrong attribute of HUB chip written in uv_setup()
[IA64] remove trailing space in messages
[IA64] use asm-generic/scatterlist.h
[IA64] build arch/ia64/kernel/acpi-ext.o when CONFIG_ACPI
[IA64] Only build arch/ia64/kernel/acpi.o when CONFIG_ACPI
[IA64] Remove COMPAT_IA32 support
Diffstat (limited to 'arch/ia64/include/asm/acpi.h')
-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 93997bd5edc3..21adbd7f90f8 100644 --- a/arch/ia64/include/asm/acpi.h +++ b/arch/ia64/include/asm/acpi.h | |||
@@ -100,7 +100,32 @@ ia64_acpi_release_global_lock (unsigned int *lock) | |||
100 | static inline void disable_acpi(void) { } | 100 | static inline void disable_acpi(void) { } |
101 | static inline void pci_acpi_crs_quirks(void) { } | 101 | static inline void pci_acpi_crs_quirks(void) { } |
102 | 102 | ||
103 | #ifdef CONFIG_IA64_GENERIC | ||
103 | const char *acpi_get_sysname (void); | 104 | const char *acpi_get_sysname (void); |
105 | #else | ||
106 | static inline const char *acpi_get_sysname (void) | ||
107 | { | ||
108 | # if defined (CONFIG_IA64_HP_SIM) | ||
109 | return "hpsim"; | ||
110 | # elif defined (CONFIG_IA64_HP_ZX1) | ||
111 | return "hpzx1"; | ||
112 | # elif defined (CONFIG_IA64_HP_ZX1_SWIOTLB) | ||
113 | return "hpzx1_swiotlb"; | ||
114 | # elif defined (CONFIG_IA64_SGI_SN2) | ||
115 | return "sn2"; | ||
116 | # elif defined (CONFIG_IA64_SGI_UV) | ||
117 | return "uv"; | ||
118 | # elif defined (CONFIG_IA64_DIG) | ||
119 | return "dig"; | ||
120 | # elif defined (CONFIG_IA64_XEN_GUEST) | ||
121 | return "xen"; | ||
122 | # elif defined(CONFIG_IA64_DIG_VTD) | ||
123 | return "dig_vtd"; | ||
124 | # else | ||
125 | # error Unknown platform. Fix acpi.c. | ||
126 | # endif | ||
127 | } | ||
128 | #endif | ||
104 | int acpi_request_vector (u32 int_type); | 129 | int acpi_request_vector (u32 int_type); |
105 | int acpi_gsi_to_irq (u32 gsi, unsigned int *irq); | 130 | int acpi_gsi_to_irq (u32 gsi, unsigned int *irq); |
106 | 131 | ||