diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-08-28 00:06:28 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-08-28 00:06:28 +0200 |
commit | 5a99efeaa5c7139b7d76cbd5fb54fac664ba3da9 (patch) | |
tree | f86488005a159beb5e7fc733b3c5ab07fadb5cc2 /include | |
parent | Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne... (diff) | |
parent | [SPARC32]: Make flush_tlb_kernel_range() an inline function. (diff) | |
download | linux-5a99efeaa5c7139b7d76cbd5fb54fac664ba3da9.tar.xz linux-5a99efeaa5c7139b7d76cbd5fb54fac664ba3da9.zip |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
* 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6:
[SPARC32]: Make flush_tlb_kernel_range() an inline function.
[SERIAL]: Fix 32-bit warnings in sunzilog.c and sunsu.c
[SPARC32]: Kill unused vars and macros from prom/console.c
[SPARC32]: Add __cmpdi2() libcall implementation ala. MIPS.
[VIDEO]: Do not prom_halt() in cg3 and bw2 device probe.
[SUNVDC]: Use slice 0xff on VD_DISK_TYPE_DISK.
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-sparc/tlbflush.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/asm-sparc/tlbflush.h b/include/asm-sparc/tlbflush.h index 4a3b66618e75..a619da5cfaa9 100644 --- a/include/asm-sparc/tlbflush.h +++ b/include/asm-sparc/tlbflush.h @@ -57,6 +57,10 @@ BTFIXUPDEF_CALL(void, flush_tlb_page, struct vm_area_struct *, unsigned long) /* * This is a kludge, until I know better. --zaitcev XXX */ -#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(); +} #endif /* _SPARC_TLBFLUSH_H */ |