Merge tag 'asm-generic-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd...
[linux-2.6-microblaze.git] / include / asm-generic / kprobes.h
index 4a98208..060eab0 100644 (file)
  */
 # define __NOKPROBE_SYMBOL(fname)                              \
 static unsigned long __used                                    \
-       __attribute__((__section__("_kprobe_blacklist")))       \
+       __section("_kprobe_blacklist")                          \
        _kbl_addr_##fname = (unsigned long)fname;
 # define NOKPROBE_SYMBOL(fname)        __NOKPROBE_SYMBOL(fname)
 /* Use this to forbid a kprobes attach on very low level functions */
-# define __kprobes     __attribute__((__section__(".kprobes.text")))
+# define __kprobes     __section(".kprobes.text")
 # define nokprobe_inline       __always_inline
 #else
 # define NOKPROBE_SYMBOL(fname)