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>
This commit is contained in:
@@ -327,7 +327,7 @@ int cec_add_elem(u64 pfn)
|
||||
} else {
|
||||
/* We have reached max count for this page, soft-offline it. */
|
||||
pr_err("Soft-offlining pfn: 0x%llx\n", pfn);
|
||||
memory_failure_queue(pfn, 0, MF_SOFT_OFFLINE);
|
||||
memory_failure_queue(pfn, MF_SOFT_OFFLINE);
|
||||
ca->pfns_poisoned++;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user