fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / include / asm-alpha / tlbflush.h
index 736a4f6..1ca3ed3 100644 (file)
@@ -1,8 +1,8 @@
 #ifndef _ALPHA_TLBFLUSH_H
 #define _ALPHA_TLBFLUSH_H
 
-#include <linux/config.h>
 #include <linux/mm.h>
+#include <asm/compiler.h>
 
 #ifndef __EXTERN_INLINE
 #define __EXTERN_INLINE extern inline
@@ -86,7 +86,7 @@ flush_tlb(void)
 static inline void
 flush_tlb_other(struct mm_struct *mm)
 {
-       long *mmc = &mm->context[smp_processor_id()];
+       unsigned long *mmc = &mm->context[smp_processor_id()];
        /* Check it's not zero first to avoid cacheline ping pong
           when possible.  */
        if (*mmc) *mmc = 0;