mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] 2.5.65 fix jiffies compile warning in alpha/kernel/smp.c
@ 2003-03-23  0:48 T. Weyergraf
  0 siblings, 0 replies; only message in thread
From: T. Weyergraf @ 2003-03-23  0:48 UTC (permalink / raw)
  To: linux-kernel; +Cc: kirk

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.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-03-23  1:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-23  0:48 [PATCH] 2.5.65 fix jiffies compile warning in alpha/kernel/smp.c 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®