summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/mdesc.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-04-01 03:13:15 -0700
committerDavid S. Miller <davem@davemloft.net>2009-06-16 04:56:19 -0700
commit890db403d59fbeaf273ed019d0b1862223d80a9a (patch)
tree361b01ee0f84227bfb84e4390ef94432b5a36aca /arch/sparc/kernel/mdesc.c
parent5052f525fde2dcb550cc3b4f15d2bfdd2a5c8782 (diff)
downloadop-kernel-dev-890db403d59fbeaf273ed019d0b1862223d80a9a.zip
op-kernel-dev-890db403d59fbeaf273ed019d0b1862223d80a9a.tar.gz
sparc: Call OF and MD cpu scanning explicitly from paging_init()
We need to split up the cpu present mask setup from the cpu_data initialization, and this is a first step towards that. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/mdesc.c')
-rw-r--r--arch/sparc/kernel/mdesc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/sparc/kernel/mdesc.c b/arch/sparc/kernel/mdesc.c
index f50af3f..602cbb7 100644
--- a/arch/sparc/kernel/mdesc.c
+++ b/arch/sparc/kernel/mdesc.c
@@ -919,7 +919,6 @@ void __init sun4v_mdesc_init(void)
{
struct mdesc_handle *hp;
unsigned long len, real_len, status;
- cpumask_t mask;
(void) sun4v_mach_desc(0UL, 0UL, &len);
@@ -943,7 +942,4 @@ void __init sun4v_mdesc_init(void)
cur_mdesc = hp;
report_platform_properties();
-
- cpus_setall(mask);
- mdesc_fill_in_cpu_data(mask);
}
OpenPOWER on IntegriCloud