mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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" <[email protected]>
This commit is contained in:
parent
f71dd7dc2d
commit
83b57531c5
10 changed files with 25 additions and 32 deletions
|
|
@ -325,7 +325,7 @@ static int pdt_mainloop(void *unused)
|
|||
#ifdef CONFIG_MEMORY_FAILURE
|
||||
if ((pde & PDT_ADDR_PERM_ERR) ||
|
||||
((pde & PDT_ADDR_SINGLE_ERR) == 0))
|
||||
memory_failure(pde >> PAGE_SHIFT, 0, 0);
|
||||
memory_failure(pde >> PAGE_SHIFT, 0);
|
||||
else
|
||||
soft_offline_page(
|
||||
pfn_to_page(pde >> PAGE_SHIFT), 0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue