Re: Linux-2.4.0-test2

From: Richard Gooch (rgooch@ras.ucalgary.ca)
Date: Sat Jun 24 2000 - 11:15:48 EST


Linus Torvalds writes:
>
> There's a "test2" kernel out there now, integrating most of the -ac
> patches, and some code that wasn't in -ac.
>
> Normally, when you integrate almost 5MB of patches, bad things happen.
> This time, a miracle occurred. As I uploaded the resultant kernel, a
> specter of the holy penguin appeared before me, and said "It is Good. It
> is Bugfree".

Uh, ha.

> In short, not only are most of Alan's patches integrated, I have it on
> higher authority that the result is perfect.

Bollocks :-)

> So if it doesn't compile for you, you must be doing something wrong.

Still the same problem I told you about a couple of days ago: it
doesn't compile with the recommended compiler (gcc 2.7.2.3). Maybe
this time you'll apply my patch? ;-)

And I'm still waiting for a solution (or an update to
Documentation/Changes that tells me which binutils I really need) for
this problem:
gcc -D__KERNEL__ -I/home/kernel/v2.3/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -c -o ptrace.o ptrace.c
{standard input}: Assembler messages:
{standard input}:1814: Error: no such 386 instruction: `ldmxcsr'
make[1]: *** [traps.o] Error 1
make[1]: Leaving directory `/home/kernel/v2.3/linux-2.4.0-test2+fix/arch/i386/kernel'

                                Regards,

                                        Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca
===============================================================================
diff -urN linux-2.4.0-test2-pre11/kernel/sched.c linux/kernel/sched.c
--- linux-2.4.0-test2-pre11/kernel/sched.c Thu Jun 22 10:36:21 2000
+++ linux/kernel/sched.c Thu Jun 22 10:48:12 2000
@@ -60,8 +60,8 @@
  * The run-queue lock locks the parts that actually access
  * and change the run-queues, and have to be interrupt-safe.
  */
-__cacheline_aligned spinlock_t runqueue_lock = SPIN_LOCK_UNLOCKED; /* second */
-__cacheline_aligned rwlock_t tasklist_lock = RW_LOCK_UNLOCKED; /* third */
+spinlock_t runqueue_lock __cacheline_aligned = SPIN_LOCK_UNLOCKED; /* second */
+rwlock_t tasklist_lock __cacheline_aligned = RW_LOCK_UNLOCKED; /* third */
 
 static LIST_HEAD(runqueue_head);
 

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



This archive was generated by hypermail 2b29 : Mon Jun 26 2000 - 21:00:04 EST