projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1666e5e
)
powerpc: Remove unneeded inline functions
author
YueHaibing
<yuehaibing@huawei.com>
Fri, 17 Jul 2020 11:27:14 +0000
(19:27 +0800)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Tue, 21 Jul 2020 14:01:24 +0000
(
00:01
+1000)
Both of those functions are only called from 64-bit only code, so the
stubs should not be needed at all.
Suggested-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link:
https://lore.kernel.org/r/20200717112714.19304-1-yuehaibing@huawei.com
arch/powerpc/include/asm/mmu_context.h
patch
|
blob
|
history
diff --git
a/arch/powerpc/include/asm/mmu_context.h
b/arch/powerpc/include/asm/mmu_context.h
index 1a474f6b1992aa990e37f2d210f79760e83e1fba..7f3658a9738462a5aafa6335eb5add8d5a9995a1 100644
(file)
--- a/
arch/powerpc/include/asm/mmu_context.h
+++ b/
arch/powerpc/include/asm/mmu_context.h
@@
-218,8
+218,6
@@
static inline void inc_mm_active_cpus(struct mm_struct *mm) { }
static inline void dec_mm_active_cpus(struct mm_struct *mm) { }
static inline void mm_context_add_copro(struct mm_struct *mm) { }
static inline void mm_context_remove_copro(struct mm_struct *mm) { }
-static inline void mm_context_add_vas_windows(struct mm_struct *mm) { }
-static inline void mm_context_remove_vas_windows(struct mm_struct *mm) { }
#endif