diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-06-23 15:53:31 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-06-23 23:15:45 -0700 |
commit | 942a6bdd1c4d2419a42be77ba1c964e4ba8dae9e (patch) | |
tree | b1a432a83aff7b88d301d4932ff75e5078b8c347 /arch/sparc/mm | |
parent | a2bd4fd17926d715a470fbe0ebe05128ba410984 (diff) | |
download | op-kernel-dev-942a6bdd1c4d2419a42be77ba1c964e4ba8dae9e.zip op-kernel-dev-942a6bdd1c4d2419a42be77ba1c964e4ba8dae9e.tar.gz |
[SPARC]: Port sparc64 in-kernel device tree code to sparc32.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/mm')
-rw-r--r-- | arch/sparc/mm/init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc/mm/init.c b/arch/sparc/mm/init.c index 8986697..cfa7d34 100644 --- a/arch/sparc/mm/init.c +++ b/arch/sparc/mm/init.c @@ -31,6 +31,7 @@ #include <asm/vaddrs.h> #include <asm/pgalloc.h> /* bug in asm-generic/tlb.h: check_pgt_cache */ #include <asm/tlb.h> +#include <asm/prom.h> DEFINE_PER_CPU(struct mmu_gather, mmu_gathers); @@ -349,6 +350,7 @@ void __init paging_init(void) protection_map[14] = PAGE_SHARED; protection_map[15] = PAGE_SHARED; btfixup(); + prom_build_devicetree(); device_scan(); } |