another semaphore rewrite
Here's another attempt at semaphores. This one actually boots on a UP J5k, caveat emptor as always. I'm rewriting the rwsems right now, don't look at that bit.
Index: arch/parisc/kernel/process.c
===================================================================
RCS file: /home/cvs/parisc/linux/arch/parisc/kernel/process.c,v retrieving revision 1.27
process.c +0 -2
@@ -36,8 +36,6 @@#include <asm/gsc.h> #include <asm/processor.h> -spinlock_t semaphore_wake_lock =SPIN_LOCK_UNLOCKED ; -#ifdef __LP64__/* The 64-bit code should work equally well in 32-bit land but I didn't * want to take the time to confirm that. -PB
Index: arch/parisc/kernel/semaphore.c
===================================================================
RCS file: /home/cvs/parisc/linux/arch/parisc/kernel/semaphore.c,v retrieving revision 1.4
semaphore.c +113 -158
335 lines not on this page · raw message
Index: include/asm-parisc/semaphore.h
===================================================================
RCS file: /home/cvs/parisc/linux/include/asm-parisc/semaphore.h,v retrieving revision 1.5
semaphore.h +123 -134
389 lines not on this page · raw message