mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-11 16:29:05 +00:00
powerpc: Make _ASM_NOKPROBE_SYMBOL a noop when KPROBES not defined
Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
parent
5b9ff02785
commit
c0a5149105
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user