* [PATCH] 2.6.0-test5 Alpha/SMP build fix
@ 2003-09-19 9:28 T. Weyergraf
0 siblings, 0 replies; only message in thread
From: T. Weyergraf @ 2003-09-19 9:28 UTC (permalink / raw)
To: linux-kernel; +Cc: rth, kirk
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
diff -Naur linux-2.6.0-test5/arch/alpha/kernel/setup.c linux-2.6.0-test5-kirk1/arch/alpha/kernel/setup.c
--- linux-2.6.0-test5/arch/alpha/kernel/setup.c 2003-09-08 21:49:54.000000000 +0200
+++ linux-2.6.0-test5-kirk1/arch/alpha/kernel/setup.c 2003-09-19 09:09:03.000000000 +0200
@@ -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
diff -Naur linux-2.6.0-test5/arch/alpha/kernel/smp.c linux-2.6.0-test5-kirk1/arch/alpha/kernel/smp.c
--- linux-2.6.0-test5/arch/alpha/kernel/smp.c 2003-09-08 21:49:58.000000000 +0200
+++ linux-2.6.0-test5-kirk1/arch/alpha/kernel/smp.c 2003-09-19 09:09:30.000000000 +0200
@@ -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),
diff -Naur linux-2.6.0-test5/include/asm-alpha/smp.h linux-2.6.0-test5-kirk1/include/asm-alpha/smp.h
--- linux-2.6.0-test5/include/asm-alpha/smp.h 2003-09-08 21:50:28.000000000 +0200
+++ linux-2.6.0-test5-kirk1/include/asm-alpha/smp.h 2003-09-19 09:09:41.000000000 +0200
@@ -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)
--
Thomas Weyergraf kirk@colinet.de
Funny IA64 Opcode Dept: ( see arch/ia64/lib/memset.S )
"br.ret.spnt.few" - got back from getting beer, did not spend a lot.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-09-19 8:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-19 9:28 [PATCH] 2.6.0-test5 Alpha/SMP build fix T. Weyergraf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®