diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2017-07-10 01:14:01 +0200 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2018-01-23 19:17:42 +0100 |
commit | 83b57531c58f4173d1c0d0b2c0bc88c853c32ea5 (patch) | |
tree | 42397d1c3d0f5f6c2c29ea4ae2ff74250ba454a2 /mm/hwpoison-inject.c | |
parent | signal/ptrace: Add force_sig_ptrace_errno_trap and use it where needed (diff) | |
download | linux-83b57531c58f4173d1c0d0b2c0bc88c853c32ea5.tar.xz linux-83b57531c58f4173d1c0d0b2c0bc88c853c32ea5.zip |
mm/memory_failure: Remove unused trapno from memory_failure
Today 4 architectures set ARCH_SUPPORTS_MEMORY_FAILURE (arm64, parisc,
powerpc, and x86), while 4 other architectures set __ARCH_SI_TRAPNO
(alpha, metag, sparc, and tile). These two sets of architectures do
not interesect so remove the trapno paramater to remove confusion.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'mm/hwpoison-inject.c')
-rw-r--r-- | mm/hwpoison-inject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/hwpoison-inject.c b/mm/hwpoison-inject.c index 356df057a2a8..b6ac70616c32 100644 --- a/mm/hwpoison-inject.c +++ b/mm/hwpoison-inject.c @@ -52,7 +52,7 @@ static int hwpoison_inject(void *data, u64 val) inject: pr_info("Injecting memory failure at pfn %#lx\n", pfn); - return memory_failure(pfn, 18, MF_COUNT_INCREASED); + return memory_failure(pfn, MF_COUNT_INCREASED); put_out: put_hwpoison_page(p); return 0; |