lkml.org 
[lkml]   [2003]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] 2.5.65 fix jiffies compile warning in alpha/kernel/smp.c
From
Date
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.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.287 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site