lkml.org 
[lkml]   [2003]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Fwd: [PATCH] s390 (1/7): s390 arch fixes.
> --- linux-2.5.64/arch/s390/kernel/time.c	Wed Mar  5 04:28:53 2003
> +++ linux-2.5.64-s390/arch/s390/kernel/time.c Fri Mar 7 11:40:12 2003
> @@ -202,14 +203,14 @@
> unsigned long cr0;
> __u64 timer;
>
> + timer = jiffies_timer_cc + jiffies_64 * CLK_TICKS_PER_JIFFY;
> + S390_lowcore.jiffy_timer = timer;
> + timer += CLK_TICKS_PER_JIFFY + CPU_DEVIATION;
> + asm volatile ("SCKC %0" : : "m" (timer));
> /* allow clock comparator timer interrupt */
> asm volatile ("STCTL 0,0,%0" : "=m" (cr0) : : "memory");
> cr0 |= 0x800;
> asm volatile ("LCTL 0,0,%0" : : "m" (cr0) : "memory");
> - timer = init_timer_cc + jiffies_64 * CLK_TICKS_PER_JIFFY;
> - S390_lowcore.jiffy_timer = timer;
> - timer += CLK_TICKS_PER_JIFFY + CPU_DEVIATION;
> - asm volatile ("SCKC %0" : : "m" (timer));
> }
>
> /*

This is a good fix, I confirm it fixing my booting problem ...
on 2.4! Seriously, I can't believe it worked before.
Please send it to Marcelo, too.

-- Pete
-
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:33    [W:0.025 / U:10.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site