diff options
Diffstat (limited to 'arch/sparc/mm/init.c')
| -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 898669732466..cfa7d3456634 100644 --- a/arch/sparc/mm/init.c +++ b/arch/sparc/mm/init.c | |||
| @@ -31,6 +31,7 @@ | |||
| 31 | #include <asm/vaddrs.h> | 31 | #include <asm/vaddrs.h> |
| 32 | #include <asm/pgalloc.h> /* bug in asm-generic/tlb.h: check_pgt_cache */ | 32 | #include <asm/pgalloc.h> /* bug in asm-generic/tlb.h: check_pgt_cache */ |
| 33 | #include <asm/tlb.h> | 33 | #include <asm/tlb.h> |
| 34 | #include <asm/prom.h> | ||
| 34 | 35 | ||
| 35 | DEFINE_PER_CPU(struct mmu_gather, mmu_gathers); | 36 | DEFINE_PER_CPU(struct mmu_gather, mmu_gathers); |
| 36 | 37 | ||
| @@ -349,6 +350,7 @@ void __init paging_init(void) | |||
| 349 | protection_map[14] = PAGE_SHARED; | 350 | protection_map[14] = PAGE_SHARED; |
| 350 | protection_map[15] = PAGE_SHARED; | 351 | protection_map[15] = PAGE_SHARED; |
| 351 | btfixup(); | 352 | btfixup(); |
| 353 | prom_build_devicetree(); | ||
| 352 | device_scan(); | 354 | device_scan(); |
| 353 | } | 355 | } |
| 354 | 356 | ||
