From: "T. Weyergraf" <kirk@colinet.de>
To: linux-kernel@vger.kernel.org
Cc: kirk@colinet.de
Subject: [PATCH] 2.5.65 fix jiffies compile warning in alpha/kernel/smp.c
Date: Sun, 23 Mar 2003 01:48:50 +0100 [thread overview]
Message-ID: <kirk-1030323014850.A01215@hydra.colinet.de> (raw)
Fix more annoying compile problems due to wrong types
for comparing jiffies. This patch applies to alpha arch.
Regards,
Thomas Weyergraf
diff -p1 -urN linux-2.5.65/arch/alpha/kernel/smp.c linux-2.5.65-kirk1/arch/alpha/kernel/smp.c
--- linux-2.5.65/arch/alpha/kernel/smp.c Mon Mar 17 22:43:50 2003
+++ linux-2.5.65-kirk1/arch/alpha/kernel/smp.c Sun Mar 23 00:02:37 2003
@@ -114,3 +114,3 @@ wait_boot_cpu_to_stop(int cpuid)
{
- long stop = jiffies + 10*HZ;
+ unsigned long stop = jiffies + 10*HZ;
@@ -351,3 +351,3 @@ secondary_cpu_start(int cpuid, struct ta
struct pcb_struct *hwpcb, *ipcb;
- long timeout;
+ unsigned long timeout;
@@ -430,3 +430,3 @@ smp_boot_one_cpu(int cpuid)
struct task_struct *idle;
- long timeout;
+ unsigned long timeout;
@@ -818,3 +818,3 @@ smp_call_function_on_cpu (void (*func) (
struct smp_call_struct data;
- long timeout;
+ unsigned long timeout;
int num_cpus_to_call;
--
Thomas Weyergraf kirk@colinet.de
My Favorite IA64 Opcode-guess ( see arch/ia64/lib/memset.S )
"br.ret.spnt.few" - got back from getting beer, did not spend a lot.
reply other threads:[~2003-03-23 1:13 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=kirk-1030323014850.A01215@hydra.colinet.de \
--to=kirk@colinet.de \
--cc=linux-kernel@vger.kernel.org \
/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®