Yes, Mark. I forgot to say that.
BTW, between 6 & 7 i added linux-2.4.7-timer-3.tar.gz
ps: My system is SLES7.
WBR, Sergey
"Post, Mark K"
<mark.post@eds. To: [EMAIL PROTECTED]
com> cc:
Sent by: Linux Subject: Re: kernel patch #7
on 390 Port
<[EMAIL PROTECTED]
ARIST.EDU>
19.04.02 00:01
Please respond
to Linux on 390
Port
Sergey,
The readme file says:
To create the complete linux kernel sources, the following
patches need to be applied in sequence:
linux-2.4.7.tar.gz (GNU)
+ linux-2.4.7-s390.diff (IBM)
+ linux-2.4.7-s390-1.diff (IBM)
+ linux-2.4.7-s390-2.diff (IBM)
+ linux-2.4.7-s390-3.diff (IBM)
+ linux-2.4.7-s390-4.diff (IBM)
+ linux-2.4.7-s390-5.diff (IBM)
+ linux-2.4.7-s390-6-lcs.diff (IBM)
+ linux-2.4.7-s390-7.diff (IBM)
Did you put on all 7 previous patches, in order before the
linux-2.4.7-s390-7.diff one?
Mark Post
-----Original Message-----
From: Sergey Korzhevsky [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 10:17 AM
To: [EMAIL PROTECTED]
Subject: kernel patch #7
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