Hi All.
Who succesfuly applied this patch? I get errors, and it's look like i
missed some patches.
For example:
linux-2.4.7-s390/arch/s390/kernel/smp.c.rej
***************
*** 596,602 ****
prof_multiplier[i] = 1;
}
- print_cpu_info(&safe_get_cpu_lowcore(0).cpu_data);
for(i = 0; i < smp_num_cpus; i++)
{
--- 611,617 ----
prof_multiplier[i] = 1;
}
+ print_cpu_info(&safe_get_cpu_lowcore(0)->cpu_data);
for(i = 0; i < smp_num_cpus; i++)
{
I change ".cpu_data" to "->cpu_data" by hand, but my file smp.c doesn't
contain any "prof_multiplier[]=something" strings.
timer.c.rej
***************
*** 83,89 ****
{
__u64 timer_cc;
- asm volatile ("STCK %0" : "=m" (timer_cc));
/* We require the offset from the previous interrupt */
return ((unsigned long)((timer_cc - last_timer_cc)>>12));
}
--- 83,89 ----
{
__u64 timer_cc;
+ asm volatile ("STCK 0(%0)" : : "a" (&timer_cc) : "memory", "cc");
/* We require the offset from the previous interrupt */
return ((unsigned long)((timer_cc - last_timer_cc)>>12));
}
My file:
__u64 now;
asm ("STCK %0" : "=m" (now));
now = (now - init_timer_cc) >> 12;
/* We require the offset from the latest update of xtime */
now -= (__u64) wall_jiffies*USECS_PER_JIFFY;
return (unsigned long) now;
WBR, Sergey