diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2017-07-09 18:14:01 -0500 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2018-01-23 12:17:42 -0600 |
commit | 83b57531c58f4173d1c0d0b2c0bc88c853c32ea5 (patch) | |
tree | 42397d1c3d0f5f6c2c29ea4ae2ff74250ba454a2 /arch/powerpc/platforms/powernv/opal-memory-errors.c | |
parent | f71dd7dc2dc989dc712b246a74d243e4b2c5f8a7 (diff) | |
download | linux-stable-83b57531c58f4173d1c0d0b2c0bc88c853c32ea5.tar.gz linux-stable-83b57531c58f4173d1c0d0b2c0bc88c853c32ea5.tar.bz2 linux-stable-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 'arch/powerpc/platforms/powernv/opal-memory-errors.c')
-rw-r--r-- | arch/powerpc/platforms/powernv/opal-memory-errors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/powernv/opal-memory-errors.c b/arch/powerpc/platforms/powernv/opal-memory-errors.c index d9916ea62305..8ddc1accf199 100644 --- a/arch/powerpc/platforms/powernv/opal-memory-errors.c +++ b/arch/powerpc/platforms/powernv/opal-memory-errors.c @@ -60,7 +60,7 @@ static void handle_memory_error_event(struct OpalMemoryErrorData *merr_evt) } for (; paddr_start < paddr_end; paddr_start += PAGE_SIZE) { - memory_failure(paddr_start >> PAGE_SHIFT, 0, 0); + memory_failure(paddr_start >> PAGE_SHIFT, 0); } } |