aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-s390/tlbflush.h
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2008-04-17 01:46:26 -0400
committerHeiko Carstens <heiko.carstens@de.ibm.com>2008-04-17 01:47:06 -0400
commita806170e29c5468b1d641a22518243bdf1b8d58b (patch)
tree0b1661f287d6e2b711bbd7600120a250a4f57549 /include/asm-s390/tlbflush.h
parent5a62b192196af9a798e2f2f4c6a1324e7edf2f4b (diff)
[S390] Fix a lot of sparse warnings.
Most noteable part of this commit is the new local header file entry.h which contains all the function declarations of functions that get only called from asm code or are arch internal. That way we can avoid extern declarations in C files. This is more or less the same that was done for sparc64. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'include/asm-s390/tlbflush.h')
-rw-r--r--include/asm-s390/tlbflush.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-s390/tlbflush.h b/include/asm-s390/tlbflush.h
index de723470c5d4..9e57a93d7de1 100644
--- a/include/asm-s390/tlbflush.h
+++ b/include/asm-s390/tlbflush.h
@@ -17,9 +17,10 @@ static inline void __tlb_flush_local(void)
17/* 17/*
18 * Flush all tlb entries on all cpus. 18 * Flush all tlb entries on all cpus.
19 */ 19 */
20void smp_ptlb_all(void);
21
20static inline void __tlb_flush_global(void) 22static inline void __tlb_flush_global(void)
21{ 23{
22 extern void smp_ptlb_all(void);
23 register unsigned long reg2 asm("2"); 24 register unsigned long reg2 asm("2");
24 register unsigned long reg3 asm("3"); 25 register unsigned long reg3 asm("3");
25 register unsigned long reg4 asm("4"); 26 register unsigned long reg4 asm("4");