projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b9ff02
)
powerpc: Make _ASM_NOKPROBE_SYMBOL a noop when KPROBES not defined
author
Nicholas Piggin
<npiggin@gmail.com>
Thu, 13 Oct 2016 02:07:14 +0000
(13:07 +1100)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Mon, 14 Nov 2016 00:11:51 +0000
(11:11 +1100)
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/ppc_asm.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/include/asm/ppc_asm.h
b/arch/powerpc/include/asm/ppc_asm.h
index bf9de5575ca97f667be74c5e9abf7a3084d62ab6..025833b8df9fb1a841888f418dd00ad70e146baf 100644
(file)
--- a/
arch/powerpc/include/asm/ppc_asm.h
+++ b/
arch/powerpc/include/asm/ppc_asm.h
@@
-263,10
+263,14
@@
n:
* latter is for those that incdentially must be excluded from probing
* and allows them to be linked at more optimal location within text.
*/
+#ifdef CONFIG_KPROBES
#define _ASM_NOKPROBE_SYMBOL(entry) \
.pushsection "_kprobe_blacklist","aw"; \
PPC_LONG (entry) ; \
.popsection
+#else
+#define _ASM_NOKPROBE_SYMBOL(entry)
+#endif
#define FUNC_START(name) _GLOBAL(name)
#define FUNC_END(name)