projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sound: codecs: ac101: Fixed warning when compiling
[platform/kernel/linux-starfive.git]
/
mm
/
page_ext.c
diff --git
a/mm/page_ext.c
b/mm/page_ext.c
index
dfb9165
..
2a52fd9
100644
(file)
--- a/
mm/page_ext.c
+++ b/
mm/page_ext.c
@@
-269,7
+269,7
@@
static int __meminit init_section_page_ext(unsigned long pfn, int nid)
total_usage += table_size;
return 0;
}
-#ifdef CONFIG_MEMORY_HOTPLUG
+
static void free_page_ext(void *addr)
{
if (is_vmalloc_addr(addr)) {
@@
-374,8
+374,6
@@
static int __meminit page_ext_callback(struct notifier_block *self,
return notifier_from_errno(ret);
}
-#endif
-
void __init page_ext_init(void)
{
unsigned long pfn;