summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Anderson <rja@sgi.com>2008-10-29 17:29:18 -0500
committerStephen Rothwell <sfr@canb.auug.org.au>2008-10-30 16:41:09 +1100
commitf6d1d61abf5f92e5de8d67c39eee1256a58c1600 (patch)
tree2ad34ca6dc84dbdbe8004f74ac03c52227843eca
parentcfc4ee66a49ccf3f4e28b513b70358c22c08370f (diff)
ia64: Fix gru compiler warning
Fix compiler warning in sgi-gru driver. Signed-off-by: Russ Anderson <rja@sgi.com>
-rw-r--r--drivers/misc/sgi-gru/gru_instructions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/sgi-gru/gru_instructions.h b/drivers/misc/sgi-gru/gru_instructions.h
index 48762e7b98be..16057348dec7 100644
--- a/drivers/misc/sgi-gru/gru_instructions.h
+++ b/drivers/misc/sgi-gru/gru_instructions.h
@@ -29,7 +29,7 @@
#if defined(CONFIG_IA64)
#include <linux/compiler.h>
#include <asm/intrinsics.h>
-#define __flush_cache(p) ia64_fc(p)
+#define __flush_cache(p) ia64_fc((unsigned long)p)
/* Use volatile on IA64 to ensure ordering via st4.rel */
#define gru_ordered_store_int(p,v) \
do { \