projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb1995d
)
i386: add reference to the arguments
author
Andrew Morton
<
[email protected]
>
Sat, 21 Jul 2007 15:10:43 +0000
(17:10 +0200)
committer
Linus Torvalds
<
[email protected]
>
Sun, 22 Jul 2007 01:37:10 +0000
(18:37 -0700)
Prevent stuff like this:
mm/vmalloc.c: In function 'unmap_kernel_range':
mm/vmalloc.c:75: warning: unused variable 'start'
Cc: Benjamin Herrenschmidt <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Andi Kleen <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
include/asm-i386/tlbflush.h
patch
|
blob
|
history
diff --git
a/include/asm-i386/tlbflush.h
b/include/asm-i386/tlbflush.h
index fc525c5cd5a9ddbfc4620272bf2697fa29497ea4..a50fa6741486ae8cafb7525cd6335c7852d11930 100644
(file)
--- a/
include/asm-i386/tlbflush.h
+++ b/
include/asm-i386/tlbflush.h
@@
-160,7
+160,11
@@
DECLARE_PER_CPU(struct tlb_state, cpu_tlbstate);
native_flush_tlb_others(&mask, mm, va)
#endif
-#define flush_tlb_kernel_range(start, end) flush_tlb_all()
+static inline void flush_tlb_kernel_range(unsigned long start,
+ unsigned long end)
+{
+ flush_tlb_all();
+}
static inline void flush_tlb_pgtables(struct mm_struct *mm,
unsigned long start, unsigned long end)