[IA64] fix userspace compile error in gcc_intrin.h

Fixes userspace build errors when linux/ipv6.h is included such as in the
dhcpv6 package under fedora. Likely causes other userspace build errors as
well. I found this in akpm's tree from 2.6.18 but could not find any case
of anyone proposing it for the main tree.

Signed-off-by: Doug Chapman <doug.chapman@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>

authored by

Doug Chapman and committed by
Tony Luck
0df29025 d2fc0bac

+2
+2
include/asm-ia64/gcc_intrin.h
··· 24 24 extern void ia64_bad_param_for_setreg (void); 25 25 extern void ia64_bad_param_for_getreg (void); 26 26 27 + #ifdef __KERNEL__ 27 28 register unsigned long ia64_r13 asm ("r13") __used; 29 + #endif 28 30 29 31 #define ia64_setreg(regnum, val) \ 30 32 ({ \