aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/mm/init.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-06-11 02:32:07 -0400
committerPaul Mundt <lethal@linux-sh.org>2007-06-11 02:32:07 -0400
commit357d59469c1179c30b8c425aba302346fac3594e (patch)
tree6e27fcd85967ad06072ac84788ac891cbcc10235 /arch/sh/mm/init.c
parent54039591cee40ef1f440f1245ed066c3e7d54a9a (diff)
sh: Tidy up dependencies for SH-2 build.
SH-2 can presently get in to some pretty bogus states, so we tidy up the dependencies a bit and get it all building again. This gets us a bit closer to a functional allyesconfig and allmodconfig, though there are still a few things to fix up. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm/init.c')
-rw-r--r--arch/sh/mm/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/mm/init.c b/arch/sh/mm/init.c
index 40d4e798e7fb..82b68c789a5f 100644
--- a/arch/sh/mm/init.c
+++ b/arch/sh/mm/init.c
@@ -300,6 +300,7 @@ int remove_memory(u64 start, u64 size)
300} 300}
301EXPORT_SYMBOL_GPL(remove_memory); 301EXPORT_SYMBOL_GPL(remove_memory);
302 302
303#ifdef CONFIG_NUMA
303int memory_add_physaddr_to_nid(u64 addr) 304int memory_add_physaddr_to_nid(u64 addr)
304{ 305{
305 /* Node 0 for now.. */ 306 /* Node 0 for now.. */
@@ -307,3 +308,4 @@ int memory_add_physaddr_to_nid(u64 addr)
307} 308}
308EXPORT_SYMBOL_GPL(memory_add_physaddr_to_nid); 309EXPORT_SYMBOL_GPL(memory_add_physaddr_to_nid);
309#endif 310#endif
311#endif