diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-14 21:03:30 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-14 21:03:30 -0500 |
commit | dca88ad6915b65f6e037f8c3e632fcd92a70bd88 (patch) | |
tree | a3dcbe53310997dcc37c7d49129c48febef53992 /arch/ia64 | |
parent | fed474857efbed79cd390d0aee224231ca718f63 (diff) | |
parent | 1632b9e2a14ce9f4e08faf6c4380431d63319bd3 (diff) |
Merge branch 'for-next' of git://git.infradead.org/users/dhowells/linux-headers
* 'for-next' of git://git.infradead.org/users/dhowells/linux-headers:
UAPI: Split trivial #if defined(__KERNEL__) && X conditionals
UAPI: Don't have a #elif clause in a __KERNEL__ guard in linux/soundcard.h
UAPI: Fix AHZ multiple inclusion when __KERNEL__ is removed
UAPI: Make linux/patchkey.h easier to parse
UAPI: Fix nested __KERNEL__ guards in video/edid.h
UAPI: Alter the S390 asm include guards to be recognisable by the UAPI splitter
UAPI: Guard linux/cuda.h
UAPI: Guard linux/pmu.h
UAPI: Guard linux/isdn_divertif.h
UAPI: Guard linux/sound.h
UAPI: Rearrange definition of HZ in asm-generic/param.h
UAPI: Make FRV use asm-generic/param.h
UAPI: Make M32R use asm-generic/param.h
UAPI: Make MN10300 use asm-generic/param.h
UAPI: elf_read_implies_exec() is a kernel-only feature - so hide from userspace
UAPI: Don't include linux/compat.h in sparc's asm/siginfo.h
UAPI: Fix arch/mips/include/asm/Kbuild to have separate header-y lines
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/include/asm/intrinsics.h | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/arch/ia64/include/asm/intrinsics.h b/arch/ia64/include/asm/intrinsics.h index 111ed5222892..e4076b511829 100644 --- a/arch/ia64/include/asm/intrinsics.h +++ b/arch/ia64/include/asm/intrinsics.h | |||
@@ -201,16 +201,21 @@ extern long ia64_cmpxchg_called_with_bad_pointer (void); | |||
201 | #endif | 201 | #endif |
202 | 202 | ||
203 | #ifndef __ASSEMBLY__ | 203 | #ifndef __ASSEMBLY__ |
204 | #if defined(CONFIG_PARAVIRT) && defined(__KERNEL__) | 204 | |
205 | #ifdef ASM_SUPPORTED | ||
206 | # define IA64_INTRINSIC_API(name) paravirt_ ## name | ||
207 | #else | ||
208 | # define IA64_INTRINSIC_API(name) pv_cpu_ops.name | ||
209 | #endif | ||
210 | #define IA64_INTRINSIC_MACRO(name) paravirt_ ## name | ||
211 | #else | ||
212 | #define IA64_INTRINSIC_API(name) ia64_native_ ## name | 205 | #define IA64_INTRINSIC_API(name) ia64_native_ ## name |
213 | #define IA64_INTRINSIC_MACRO(name) ia64_native_ ## name | 206 | #define IA64_INTRINSIC_MACRO(name) ia64_native_ ## name |
207 | |||
208 | #if defined(__KERNEL__) | ||
209 | #if defined(CONFIG_PARAVIRT) | ||
210 | # undef IA64_INTRINSIC_API | ||
211 | # undef IA64_INTRINSIC_MACRO | ||
212 | # ifdef ASM_SUPPORTED | ||
213 | # define IA64_INTRINSIC_API(name) paravirt_ ## name | ||
214 | # else | ||
215 | # define IA64_INTRINSIC_API(name) pv_cpu_ops.name | ||
216 | # endif | ||
217 | #define IA64_INTRINSIC_MACRO(name) paravirt_ ## name | ||
218 | #endif | ||
214 | #endif | 219 | #endif |
215 | 220 | ||
216 | /************************************************/ | 221 | /************************************************/ |