Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c0a51491 authored by Nicholas Piggin's avatar Nicholas Piggin Committed by Michael Ellerman
Browse files

powerpc: Make _ASM_NOKPROBE_SYMBOL a noop when KPROBES not defined

parent 5b9ff027
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -263,10 +263,14 @@ GLUE(.,name):
 * 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)