From: "T. Weyergraf" <kirk@colinet.de>
To: linux-kernel@vger.kernel.org
Cc: rth@twiddle.net, kirk@colinet.de
Subject: [PATCH] 2.6.0-test5 Alpha/SMP build fix
Date: Fri, 19 Sep 2003 11:28:31 +0200 (CEST) [thread overview]
Message-ID: <E1A0HZG-0007f7-00@hydra.colinet.de> (raw)
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.
reply other threads:[~2003-09-19 8:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1A0HZG-0007f7-00@hydra.colinet.de \
--to=kirk@colinet.de \
--cc=linux-kernel@vger.kernel.org \
--cc=rth@twiddle.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®