diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-06-11 02:32:07 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-06-11 02:32:07 -0400 |
commit | 357d59469c1179c30b8c425aba302346fac3594e (patch) | |
tree | 6e27fcd85967ad06072ac84788ac891cbcc10235 /arch/sh/mm/init.c | |
parent | 54039591cee40ef1f440f1245ed066c3e7d54a9a (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.c | 2 |
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 | } |
301 | EXPORT_SYMBOL_GPL(remove_memory); | 301 | EXPORT_SYMBOL_GPL(remove_memory); |
302 | 302 | ||
303 | #ifdef CONFIG_NUMA | ||
303 | int memory_add_physaddr_to_nid(u64 addr) | 304 | int 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 | } |
308 | EXPORT_SYMBOL_GPL(memory_add_physaddr_to_nid); | 309 | EXPORT_SYMBOL_GPL(memory_add_physaddr_to_nid); |
309 | #endif | 310 | #endif |
311 | #endif | ||