Skip to content

Commit

Permalink
[IA64] fix userspace compile error in gcc_intrin.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Doug Chapman authored and Tony Luck committed Feb 4, 2008
1 parent d2fc0ba commit 0df2902
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/asm-ia64/gcc_intrin.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
extern void ia64_bad_param_for_setreg (void);
extern void ia64_bad_param_for_getreg (void);

#ifdef __KERNEL__
register unsigned long ia64_r13 asm ("r13") __used;
#endif

#define ia64_setreg(regnum, val) \
({ \
Expand Down

0 comments on commit 0df2902

Please sign in to comment.