diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-04-01 10:52:19 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-04-01 10:52:19 -0700 |
commit | dcbcb49155be1934d13887e50b9b728e153b15c3 (patch) | |
tree | 78a472f4d5d76d3f10a90aa6598350ed2e2d8821 /arch/arc/include/asm | |
parent | 09c8b3d1d6433860e9c51f5fc72f22a9b56ebb52 (diff) | |
parent | 4c6fabda1ad1dec6d274c098ef0a91809c74f2e3 (diff) | |
download | linux-dcbcb49155be1934d13887e50b9b728e153b15c3.tar.gz linux-dcbcb49155be1934d13887e50b9b728e153b15c3.tar.bz2 linux-dcbcb49155be1934d13887e50b9b728e153b15c3.zip |
Merge tag 'arc-4.11-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc
Pull ARC fixes from Vineet Gupta:
"Accumulated fixes for ARC which I've been been sitting on for a while:
- reading clk from driver vs device tree [Vlad]
- fix support for UIO in VDK platform [Alexey]
- SLC busy bit reading workaround
- build warning with kprobes header reorg"
* tag 'arc-4.11-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc:
ARC: fix build warnings with !CONFIG_KPROBES
ARCv2: SLC: Make sure busy bit is set properly on SLC flushing
ARC: vdk: Fix support of UIO
ARCv2: make unimplemented vectors as no-ops rather than halt core
ARC: get rate from clk driver instead of reading device tree
ARC: [dts] add cpu nodes to ARCHS SMP device tree
ARC: [dts] add input clocks for cpu nodes
Diffstat (limited to 'arch/arc/include/asm')
-rw-r--r-- | arch/arc/include/asm/kprobes.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arc/include/asm/kprobes.h b/arch/arc/include/asm/kprobes.h index 00bdbe167615..2e52d18e6bc7 100644 --- a/arch/arc/include/asm/kprobes.h +++ b/arch/arc/include/asm/kprobes.h @@ -54,9 +54,7 @@ int kprobe_fault_handler(struct pt_regs *regs, unsigned long cause); void kretprobe_trampoline(void); void trap_is_kprobe(unsigned long address, struct pt_regs *regs); #else -static void trap_is_kprobe(unsigned long address, struct pt_regs *regs) -{ -} +#define trap_is_kprobe(address, regs) #endif /* CONFIG_KPROBES */ #endif /* _ARC_KPROBES_H */ |