mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
page-types.c: fix name of unpoison interface
The page-types utility still uses an out of date name for the unpoison interface: debugfs:hwpoison/renew-pfn This patch renames and fixes it. Signed-off-by: Naoya Horiguchi <[email protected]> Acked-by: Wu Fengguang <[email protected]> Signed-off-by: Andi Kleen <[email protected]>
This commit is contained in:
parent
c6ea21e35b
commit
6715981312
1 changed files with 1 additions and 1 deletions
|
|
@ -478,7 +478,7 @@ static void prepare_hwpoison_fd(void)
|
|||
}
|
||||
|
||||
if (opt_unpoison && !hwpoison_forget_fd) {
|
||||
sprintf(buf, "%s/renew-pfn", hwpoison_debug_fs);
|
||||
sprintf(buf, "%s/unpoison-pfn", hwpoison_debug_fs);
|
||||
hwpoison_forget_fd = checked_open(buf, O_WRONLY);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue