projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9de1f9c
)
x86/mm: Rename set_memory_present() to set_memory_p()
author
Borislav Petkov
<bp@suse.de>
Fri, 5 Aug 2022 14:07:02 +0000
(16:07 +0200)
committer
Ingo Molnar
<mingo@kernel.org>
Sat, 6 Aug 2022 18:46:13 +0000
(20:46 +0200)
Have it adhere to the naming convention for those helpers.
No functional changes.
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link:
https://lore.kernel.org/r/20220805140702.31538-1-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/mm/pat/set_memory.c
patch
|
blob
|
history
diff --git
a/arch/x86/mm/pat/set_memory.c
b/arch/x86/mm/pat/set_memory.c
index
1abd543
..
6a9043b
100644
(file)
--- a/
arch/x86/mm/pat/set_memory.c
+++ b/
arch/x86/mm/pat/set_memory.c
@@
-1944,7
+1944,7
@@
int set_mce_nospec(unsigned long pfn)
return rc;
}
-static int set_memory_p
resent
(unsigned long *addr, int numpages)
+static int set_memory_p(unsigned long *addr, int numpages)
{
return change_page_attr_set(addr, numpages, __pgprot(_PAGE_PRESENT), 0);
}
@@
-1954,7
+1954,7
@@
int clear_mce_nospec(unsigned long pfn)
{
unsigned long addr = (unsigned long) pfn_to_kaddr(pfn);
- return set_memory_p
resent
(&addr, 1);
+ return set_memory_p(&addr, 1);
}
EXPORT_SYMBOL_GPL(clear_mce_nospec);
#endif /* CONFIG_X86_64 */