diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2017-03-30 19:02:57 +0200 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2017-03-31 02:33:20 +0200 |
commit | 4c6fabda1ad1dec6d274c098ef0a91809c74f2e3 (patch) | |
tree | 3bdc143ee73afdd001284469618e07248c980668 /arch/powerpc/sysdev/xics/icp-opal.c | |
parent | ARCv2: SLC: Make sure busy bit is set properly on SLC flushing (diff) | |
download | linux-4c6fabda1ad1dec6d274c098ef0a91809c74f2e3.tar.xz linux-4c6fabda1ad1dec6d274c098ef0a91809c74f2e3.zip |
ARC: fix build warnings with !CONFIG_KPROBES
| CC lib/nmi_backtrace.o
| In file included from ../include/linux/kprobes.h:43:0,
| from ../lib/nmi_backtrace.c:17:
| ../arch/arc/include/asm/kprobes.h:57:13: warning: 'trap_is_kprobe' defined but not used [-Wunused-function]
| static void trap_is_kprobe(unsigned long address, struct pt_regs *regs)
| ^~~~~~~~~~~~~~
The warning started with 7d134b2ce6 ("kprobes: move kprobe declarations
to asm-generic/kprobes.h") which started including <asm/kprobes.h>
unconditionally into <linux/kprobes.h> exposing a stub function for
!CONFIG_KPROBES to rest of world. Fix that by making the stub a macro
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/powerpc/sysdev/xics/icp-opal.c')
0 files changed, 0 insertions, 0 deletions