projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6d4d5a
)
[POWERPC] htab_remove_mapping is only used by MEMORY_HOTPLUG
author
Stephen Rothwell
<sfr@canb.auug.org.au>
Thu, 27 Mar 2008 05:08:57 +0000
(16:08 +1100)
committer
Paul Mackerras
<paulus@samba.org>
Mon, 7 Apr 2008 03:49:25 +0000
(13:49 +1000)
This eliminates a warning in builds that don't define
CONFIG_MEMORY_HOTPLUG.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/mm/hash_utils_64.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/mm/hash_utils_64.c
b/arch/powerpc/mm/hash_utils_64.c
index 2f3dfcc7cdd3d3e3b36f9482f1e1493b0c276865..2b5a399f6fa644763866440916e73658d14e3ed9 100644
(file)
--- a/
arch/powerpc/mm/hash_utils_64.c
+++ b/
arch/powerpc/mm/hash_utils_64.c
@@
-192,6
+192,7
@@
int htab_bolt_mapping(unsigned long vstart, unsigned long vend,
return ret < 0 ? ret : 0;
}
+#ifdef CONFIG_MEMORY_HOTPLUG
static int htab_remove_mapping(unsigned long vstart, unsigned long vend,
int psize, int ssize)
{
@@
-212,6
+213,7
@@
static int htab_remove_mapping(unsigned long vstart, unsigned long vend,
return 0;
}
+#endif /* CONFIG_MEMORY_HOTPLUG */
static int __init htab_dt_scan_seg_sizes(unsigned long node,
const char *uname, int depth,