public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 00_rwsem-11, 2.4.4-ac11 and gcc-3(2001-05-14)
@ 2001-05-18 20:08 mirabilos
  2001-05-21  8:39 ` David Howells
  0 siblings, 1 reply; 2+ messages in thread
From: mirabilos @ 2001-05-18 20:08 UTC (permalink / raw)
  To: Andrea Arcangeli; +Cc: linux-kernel

Andrea,
I applied rwsem-11 (a bit by hand) to -ac11 and tried to
compile. By changing CFLAGS_sys.o to -O (instead of -O2)
as I read earlier I nearly could compile, it only barfed
when it came to assemble the xaddl procedure by itself:

static inline long rwsem_xchgadd(long value, long * count)
{
        __asm__ __volatile__(LOCK "xaddl %0,%1"
                             : "+r" (value), "+m" (*count));
        return value;
}

changing from "inline" to "" yields a kernel which stops just
before mounting root (sysrq still works, but nothing else).
I now try again with GENERIC, and it actually is compiling...
lets look whether it works.
I hope a non-generic will solve the sound freeze :)

-mirabilos
-- 
by telnet

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-05-21  8:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-18 20:08 00_rwsem-11, 2.4.4-ac11 and gcc-3(2001-05-14) mirabilos
2001-05-21  8:39 ` David Howells

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox