[PATCH 0/2] error-injection: simplify code and powerpc support
From: Naveen N. Rao
Date: Tue May 29 2018 - 08:37:39 EST
The first patch simplifies code around function error-injection by
limiting the need for arch-specific helpers. The second patch adds
support for powerpc.
- Naveen
Naveen N. Rao (2):
error-injection: Simplify arch specific helpers
powerpc: Add support for function error injection
arch/powerpc/Kconfig | 1 +
arch/powerpc/include/asm/error-injection.h | 9 +++++++++
arch/powerpc/include/asm/ptrace.h | 5 +++++
arch/x86/include/asm/error-injection.h | 6 +-----
arch/x86/lib/Makefile | 1 -
arch/x86/lib/error-inject.c | 20 --------------------
include/asm-generic/error-injection.h | 6 ++++++
include/linux/error-injection.h | 1 +
kernel/fail_function.c | 2 +-
kernel/trace/bpf_trace.c | 2 +-
lib/error-inject.c | 8 ++++++++
11 files changed, 33 insertions(+), 28 deletions(-)
create mode 100644 arch/powerpc/include/asm/error-injection.h
delete mode 100644 arch/x86/lib/error-inject.c
--
2.17.0