git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
include
/
asm-alpha
/
tlbflush.h
diff --git
a/include/asm-alpha/tlbflush.h
b/include/asm-alpha/tlbflush.h
index
736a4f6
..
1ca3ed3
100644
(file)
--- a/
include/asm-alpha/tlbflush.h
+++ b/
include/asm-alpha/tlbflush.h
@@
-1,8
+1,8
@@
#ifndef _ALPHA_TLBFLUSH_H
#define _ALPHA_TLBFLUSH_H
#ifndef _ALPHA_TLBFLUSH_H
#define _ALPHA_TLBFLUSH_H
-#include <linux/config.h>
#include <linux/mm.h>
#include <linux/mm.h>
+#include <asm/compiler.h>
#ifndef __EXTERN_INLINE
#define __EXTERN_INLINE extern inline
#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)
{
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;
/* Check it's not zero first to avoid cacheline ping pong
when possible. */
if (*mmc) *mmc = 0;