2.6.0-test5 Alpha/SMP build fix
PATCH 1/1 2.6.0-test5 Alpha/SMP build fix
Hi all,
the following patch fixes the build of 2.6.0-test5 on Alpha/SMP. It is trivial and has been forwarded to $MAINTAINER.
Regards,
Thomas Weyergraf
arch/alpha/kernel/setup.c +1 -1
@@ -1203,7 +1203,7 @@ platform_string(), nr_processors);#ifdef CONFIG_SMP -seq_printf (f,"cpus active\t\t: %d\n" +seq_printf (f,"cpus active\t\t: %ld\n" "cpu active mask\t\t: %016lx\n" ,num_online_cpus (), cpu_present_mask);#endif
arch/alpha/kernel/smp.c +1 -1
@@ -597,7 +597,7 @@if (cpu_online (cpu)) bogosum += cpu_data[cpu].loops_per_jiffy; - printk(KERN_INFO "SMP: Total of %d processors activated " + printk(KERN_INFO "SMP: Total of %ld processors activated " "(%lu.%02lu BogoMIPS).\n", num_online_cpus(), (bogosum + 2500) / (500000/HZ),
include/asm-alpha/smp.h +1 -1
@@ -46,7 +46,7 @@#define smp_processor_id () (current_thread_info()->cpu)extern cpumask_t cpu_present_mask; -extern cpumask_t long cpu_online_map; +extern cpumask_t cpu_online_map;extern int smp_num_cpus;#define cpu_possible (cpu) cpu_isset(cpu, cpu_present_mask)
Signature · 3 lines
Thomas Weyergraf [email protected] Funny IA64 Opcode Dept: ( see arch/ia64/lib/memset.S ) "br.ret.spnt.few" - got back from getting beer, did not spend a lot.