aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/sgi-gru/gru_instructions.h1
-rw-r--r--drivers/misc/sgi-xp/xp.h1
2 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 d95587cc794..04d5170ac14 100644
--- a/drivers/misc/sgi-gru/gru_instructions.h
+++ b/drivers/misc/sgi-gru/gru_instructions.h
@@ -40,6 +40,7 @@ extern void gru_wait_abort_proc(void *cb);
40 *((volatile unsigned long *)(p)) = v; /* force st.rel */ \ 40 *((volatile unsigned long *)(p)) = v; /* force st.rel */ \
41 } while (0) 41 } while (0)
42#elif defined(CONFIG_X86_64) 42#elif defined(CONFIG_X86_64)
43#include <asm/cacheflush.h>
43#define __flush_cache(p) clflush(p) 44#define __flush_cache(p) clflush(p)
44#define gru_ordered_store_ulong(p, v) \ 45#define gru_ordered_store_ulong(p, v) \
45 do { \ 46 do { \
diff --git a/drivers/misc/sgi-xp/xp.h b/drivers/misc/sgi-xp/xp.h
index 851b2f25ce0..c862cd4583c 100644
--- a/drivers/misc/sgi-xp/xp.h
+++ b/drivers/misc/sgi-xp/xp.h
@@ -25,7 +25,6 @@
25#endif 25#endif
26 26
27#if defined CONFIG_IA64 27#if defined CONFIG_IA64
28#include <asm/system.h>
29#include <asm/sn/arch.h> /* defines is_shub1() and is_shub2() */ 28#include <asm/sn/arch.h> /* defines is_shub1() and is_shub2() */
30#define is_shub() ia64_platform_is("sn2") 29#define is_shub() ia64_platform_is("sn2")
31#endif 30#endif