diff options
| author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-07-03 13:49:45 -0400 |
|---|---|---|
| committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-07-03 13:49:45 -0400 |
| commit | 026477c1141b67e98e3bd8bdedb7d4b88a3ecd09 (patch) | |
| tree | 2624a44924c625c367f3cebf937853b9da2de282 /arch/powerpc/platforms/powermac/setup.c | |
| parent | 9f2fa466383ce100b90fe52cb4489d7a26bf72a9 (diff) | |
| parent | 29454dde27d8e340bb1987bad9aa504af7081eba (diff) | |
Merge branch 'master' of /home/trondmy/kernel/linux-2.6/
Diffstat (limited to 'arch/powerpc/platforms/powermac/setup.c')
| -rw-r--r-- | arch/powerpc/platforms/powermac/setup.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/arch/powerpc/platforms/powermac/setup.c b/arch/powerpc/platforms/powermac/setup.c index 9cc7db7a8bdc..8654b5f07836 100644 --- a/arch/powerpc/platforms/powermac/setup.c +++ b/arch/powerpc/platforms/powermac/setup.c | |||
| @@ -23,7 +23,6 @@ | |||
| 23 | * bootup setup stuff.. | 23 | * bootup setup stuff.. |
| 24 | */ | 24 | */ |
| 25 | 25 | ||
| 26 | #include <linux/config.h> | ||
| 27 | #include <linux/init.h> | 26 | #include <linux/init.h> |
| 28 | #include <linux/errno.h> | 27 | #include <linux/errno.h> |
| 29 | #include <linux/sched.h> | 28 | #include <linux/sched.h> |
| @@ -600,13 +599,6 @@ pmac_halt(void) | |||
| 600 | */ | 599 | */ |
| 601 | static void __init pmac_init_early(void) | 600 | static void __init pmac_init_early(void) |
| 602 | { | 601 | { |
| 603 | #ifdef CONFIG_PPC64 | ||
| 604 | /* Initialize hash table, from now on, we can take hash faults | ||
| 605 | * and call ioremap | ||
| 606 | */ | ||
| 607 | hpte_init_native(); | ||
| 608 | #endif | ||
| 609 | |||
| 610 | /* Enable early btext debug if requested */ | 602 | /* Enable early btext debug if requested */ |
| 611 | if (strstr(cmd_line, "btextdbg")) { | 603 | if (strstr(cmd_line, "btextdbg")) { |
| 612 | udbg_adb_init_early(); | 604 | udbg_adb_init_early(); |
| @@ -683,6 +675,8 @@ static int __init pmac_probe(void) | |||
| 683 | * part of the cacheable linar mapping | 675 | * part of the cacheable linar mapping |
| 684 | */ | 676 | */ |
| 685 | alloc_dart_table(); | 677 | alloc_dart_table(); |
| 678 | |||
| 679 | hpte_init_native(); | ||
| 686 | #endif | 680 | #endif |
| 687 | 681 | ||
| 688 | #ifdef CONFIG_PPC32 | 682 | #ifdef CONFIG_PPC32 |
