Loading arch/mips/sgi-ip27/ip27-klnuma.c +9 −7 Original line number Diff line number Diff line Loading @@ -28,8 +28,6 @@ static cpumask_t ktext_repmask; */ void __init setup_replication_mask(void) { cnodeid_t cnode; /* Set only the master cnode's bit. The master cnode is always 0. */ cpus_clear(ktext_repmask); cpu_set(0, ktext_repmask); Loading @@ -38,12 +36,16 @@ void __init setup_replication_mask(void) #ifndef CONFIG_MAPPED_KERNEL #error Kernel replication works with mapped kernel support. No calias support. #endif { cnodeid_t cnode; for_each_online_node(cnode) { if (cnode == 0) continue; /* Advertise that we have a copy of the kernel */ cpu_set(cnode, ktext_repmask); } } #endif /* Set up a GDA pointer to the replication mask. */ GDA->g_ktext_repmask = &ktext_repmask; Loading Loading
arch/mips/sgi-ip27/ip27-klnuma.c +9 −7 Original line number Diff line number Diff line Loading @@ -28,8 +28,6 @@ static cpumask_t ktext_repmask; */ void __init setup_replication_mask(void) { cnodeid_t cnode; /* Set only the master cnode's bit. The master cnode is always 0. */ cpus_clear(ktext_repmask); cpu_set(0, ktext_repmask); Loading @@ -38,12 +36,16 @@ void __init setup_replication_mask(void) #ifndef CONFIG_MAPPED_KERNEL #error Kernel replication works with mapped kernel support. No calias support. #endif { cnodeid_t cnode; for_each_online_node(cnode) { if (cnode == 0) continue; /* Advertise that we have a copy of the kernel */ cpu_set(cnode, ktext_repmask); } } #endif /* Set up a GDA pointer to the replication mask. */ GDA->g_ktext_repmask = &ktext_repmask; Loading