diff options
author | Hari Bathini <hbathini@linux.ibm.com> | 2021-07-14 18:17:58 +0530 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-07-26 20:38:51 +1000 |
commit | 8119cefd9a29b71997e62b762932d23499ba4896 (patch) | |
tree | 8e26180883e80194f962beec5988ec394f335173 /arch/powerpc/mm/book3s64/hash_native.c | |
parent | e1ab9a730b426fadc018f91b7c98412473e542fb (diff) | |
download | linux-stable-8119cefd9a29b71997e62b762932d23499ba4896.tar.gz linux-stable-8119cefd9a29b71997e62b762932d23499ba4896.tar.bz2 linux-stable-8119cefd9a29b71997e62b762932d23499ba4896.zip |
powerpc/kexec: blacklist functions called in real mode for kprobe
As kprobe does not handle events happening in real mode, blacklist the
functions that only get called in real mode or in kexec sequence with
MMU turned off.
Signed-off-by: Hari Bathini <hbathini@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/162626687834.155313.4692863392927831843.stgit@hbathini-workstation.ibm.com
Diffstat (limited to 'arch/powerpc/mm/book3s64/hash_native.c')
-rw-r--r-- | arch/powerpc/mm/book3s64/hash_native.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/book3s64/hash_native.c b/arch/powerpc/mm/book3s64/hash_native.c index 52e170bd95ae..d8279bfe68ea 100644 --- a/arch/powerpc/mm/book3s64/hash_native.c +++ b/arch/powerpc/mm/book3s64/hash_native.c @@ -787,7 +787,7 @@ static void hpte_decode(struct hash_pte *hpte, unsigned long slot, * TODO: add batching support when enabled. remember, no dynamic memory here, * although there is the control page available... */ -static void native_hpte_clear(void) +static notrace void native_hpte_clear(void) { unsigned long vpn = 0; unsigned long slot, slots; |