diff options
author | Eric W. Biederman | 2017-07-10 01:14:01 +0200 |
---|---|---|
committer | Eric W. Biederman | 2018-01-23 19:17:42 +0100 |
commit | 83b57531c58f4173d1c0d0b2c0bc88c853c32ea5 (patch) | |
tree | 42397d1c3d0f5f6c2c29ea4ae2ff74250ba454a2 /include/linux/mm.h | |
parent | signal/ptrace: Add force_sig_ptrace_errno_trap and use it where needed (diff) | |
download | kernel-qcow2-linux-83b57531c58f4173d1c0d0b2c0bc88c853c32ea5.tar.gz kernel-qcow2-linux-83b57531c58f4173d1c0d0b2c0bc88c853c32ea5.tar.xz kernel-qcow2-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 'include/linux/mm.h')
-rw-r--r-- | include/linux/mm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index ea818ff739cd..7fc92384977e 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -2570,8 +2570,8 @@ enum mf_flags { MF_MUST_KILL = 1 << 2, MF_SOFT_OFFLINE = 1 << 3, }; -extern int memory_failure(unsigned long pfn, int trapno, int flags); -extern void memory_failure_queue(unsigned long pfn, int trapno, int flags); +extern int memory_failure(unsigned long pfn, int flags); +extern void memory_failure_queue(unsigned long pfn, int flags); extern int unpoison_memory(unsigned long pfn); extern int get_hwpoison_page(struct page *page); #define put_hwpoison_page(page) put_page(page) |