diff options
author | Prarit Bhargava <prarit@sgi.com> | 2005-05-09 05:07:00 -0700 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2005-06-28 09:37:16 -0700 |
commit | 8e4641b3ee8073a46995cf97e0875df25b88d776 (patch) | |
tree | 7c289147614d3212114a007bdd070952f74a5bc4 /arch/ia64/sn/kernel/sn2 | |
parent | 458f935527372499b714bf4f8e646a68bb0f52e3 (diff) | |
download | op-kernel-dev-8e4641b3ee8073a46995cf97e0875df25b88d776.zip op-kernel-dev-8e4641b3ee8073a46995cf97e0875df25b88d776.tar.gz |
[IA64] sparse cleanup of shub_mmr.h
This patch is a sparse compile cleanup of shub_mmr.h using both the defconfig
and the sn2_defconfig config files.
The issue with this file was the missing usage of __IA64_UL_CONST wrapper.
This wrapper is defined in include/asm-ia64/types.h and wraps a long
constant definition with UL or with nothing depending on its usage in the
kernel. The missing wrapper caused many sparse compile errors like
warning: constant 0x0x0000000010000380 so big it is long
Signed-off-by: Prarit Bhargava <prarit@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/sn/kernel/sn2')
-rw-r--r-- | arch/ia64/sn/kernel/sn2/ptc_deadlock.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ia64/sn/kernel/sn2/ptc_deadlock.S b/arch/ia64/sn/kernel/sn2/ptc_deadlock.S index 7947312..96cb71d 100644 --- a/arch/ia64/sn/kernel/sn2/ptc_deadlock.S +++ b/arch/ia64/sn/kernel/sn2/ptc_deadlock.S @@ -6,6 +6,7 @@ * Copyright (C) 2000-2004 Silicon Graphics, Inc. All rights reserved. */ +#include <asm/types.h> #include <asm/sn/shub_mmr.h> #define DEADLOCKBIT SH_PIO_WRITE_STATUS_WRITE_DEADLOCK_SHFT |