|
@@ -263,10 +263,14 @@ n:
|
|
* latter is for those that incdentially must be excluded from probing
|
|
* latter is for those that incdentially must be excluded from probing
|
|
* and allows them to be linked at more optimal location within text.
|
|
* and allows them to be linked at more optimal location within text.
|
|
*/
|
|
*/
|
|
|
|
+#ifdef CONFIG_KPROBES
|
|
#define _ASM_NOKPROBE_SYMBOL(entry) \
|
|
#define _ASM_NOKPROBE_SYMBOL(entry) \
|
|
.pushsection "_kprobe_blacklist","aw"; \
|
|
.pushsection "_kprobe_blacklist","aw"; \
|
|
PPC_LONG (entry) ; \
|
|
PPC_LONG (entry) ; \
|
|
.popsection
|
|
.popsection
|
|
|
|
+#else
|
|
|
|
+#define _ASM_NOKPROBE_SYMBOL(entry)
|
|
|
|
+#endif
|
|
|
|
|
|
#define FUNC_START(name) _GLOBAL(name)
|
|
#define FUNC_START(name) _GLOBAL(name)
|
|
#define FUNC_END(name)
|
|
#define FUNC_END(name)
|