projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3f3f8a
)
powerpc: Remove stale calc_vm_prot_bits() comment
author
Nicholas Piggin
<npiggin@gmail.com>
Fri, 3 Jul 2020 01:19:56 +0000
(11:19 +1000)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Tue, 21 Jul 2020 14:01:24 +0000
(
00:01
+1000)
This comment is wrong, we wouldn't use calc_vm_prot_bits() here
because we are being called by calc_vm_prot_bits() to modify its
behaviour.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link:
https://lore.kernel.org/r/20200703011958.1166620-2-npiggin@gmail.com
arch/powerpc/include/asm/mman.h
patch
|
blob
|
history
diff --git
a/arch/powerpc/include/asm/mman.h
b/arch/powerpc/include/asm/mman.h
index d610c2e07b28eaa6b26619592b7889b56a147852..4ba303ea27f5913780f1d2b731b4d0bc08c0e02d 100644
(file)
--- a/
arch/powerpc/include/asm/mman.h
+++ b/
arch/powerpc/include/asm/mman.h
@@
-13,10
+13,6
@@
#include <linux/pkeys.h>
#include <asm/cpu_has_feature.h>
-/*
- * This file is included by linux/mman.h, so we can't use cacl_vm_prot_bits()
- * here. How important is the optimization?
- */
static inline unsigned long arch_calc_vm_prot_bits(unsigned long prot,
unsigned long pkey)
{