diff options
author | David S. Miller <davem@davemloft.net> | 2009-04-01 19:15:20 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-06-16 07:56:23 -0400 |
commit | 73fffc037e2383a0ed126d57bdcda9b369769ae8 (patch) | |
tree | 9099954565aac8e2ea1b0e040662d6ca14844027 /arch/sparc/mm | |
parent | b696fdc259f0d94348a9327bed352fac44d4883d (diff) |
sparc64: Get rid of real_setup_per_cpu_areas().
Now that we defer the cpu_data() initializations to the end of per-cpu
setup, we can get rid of this local hack we had to setup the per-cpu
areas eary.
This is a necessary step in order to support HAVE_DYNAMIC_PER_CPU_AREA
since the per-cpu setup must run when page structs are available.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/mm')
-rw-r--r-- | arch/sparc/mm/init_64.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/sparc/mm/init_64.c b/arch/sparc/mm/init_64.c index 785f0a24fcbf..b5a5932def77 100644 --- a/arch/sparc/mm/init_64.c +++ b/arch/sparc/mm/init_64.c | |||
@@ -1679,11 +1679,6 @@ pgd_t swapper_pg_dir[2048]; | |||
1679 | static void sun4u_pgprot_init(void); | 1679 | static void sun4u_pgprot_init(void); |
1680 | static void sun4v_pgprot_init(void); | 1680 | static void sun4v_pgprot_init(void); |
1681 | 1681 | ||
1682 | /* Dummy function */ | ||
1683 | void __init setup_per_cpu_areas(void) | ||
1684 | { | ||
1685 | } | ||
1686 | |||
1687 | void __init paging_init(void) | 1682 | void __init paging_init(void) |
1688 | { | 1683 | { |
1689 | unsigned long end_pfn, shift, phys_base; | 1684 | unsigned long end_pfn, shift, phys_base; |
@@ -1807,8 +1802,6 @@ void __init paging_init(void) | |||
1807 | mdesc_populate_present_mask(CPU_MASK_ALL_PTR); | 1802 | mdesc_populate_present_mask(CPU_MASK_ALL_PTR); |
1808 | } | 1803 | } |
1809 | 1804 | ||
1810 | real_setup_per_cpu_areas(); | ||
1811 | |||
1812 | /* Once the OF device tree and MDESC have been setup, we know | 1805 | /* Once the OF device tree and MDESC have been setup, we know |
1813 | * the list of possible cpus. Therefore we can allocate the | 1806 | * the list of possible cpus. Therefore we can allocate the |
1814 | * IRQ stacks. | 1807 | * IRQ stacks. |