summaryrefslogtreecommitdiffstats
path: root/arch/ia64/sn
diff options
context:
space:
mode:
authorPrarit Bhargava2005-05-09 14:07:00 +0200
committerTony Luck2005-06-28 18:37:16 +0200
commit8e4641b3ee8073a46995cf97e0875df25b88d776 (patch)
tree7c289147614d3212114a007bdd070952f74a5bc4 /arch/ia64/sn
parent[IA64] Speed up lfetch.fault [NULL] (diff)
downloadkernel-qcow2-linux-8e4641b3ee8073a46995cf97e0875df25b88d776.tar.gz
kernel-qcow2-linux-8e4641b3ee8073a46995cf97e0875df25b88d776.tar.xz
kernel-qcow2-linux-8e4641b3ee8073a46995cf97e0875df25b88d776.zip
[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')
-rw-r--r--arch/ia64/sn/kernel/sn2/ptc_deadlock.S1
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 7947312801ec..96cb71d15682 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