Messages in this thread | | | From | (Daryll Strauss) | Subject | Running 2.1.36 on Alpha? | Date | Wed, 23 Apr 1997 18:41:58 -0700 (PDT) |
| |
I was OK with everything up to 2.1.35, but 36 has me stumped. I applied the following patch to the tar.gz to get the compile going:
*** linux/include/asm-alpha/spinlock.h Tue Apr 22 22:38:40 1997 --- linux/include/asm-alpha/spinlock.h.new Wed Apr 23 14:06:36 1997 *************** *** 39,47 **** #define write_lock_irq(lock) cli() #define write_unlock_irq(lock) sti()
! #define read_lock_irqsave(lock, flags) save_and_cli(flags) #define read_unlock_irqrestore(lock, flags) restore_flags(flags) ! #define write_lock_irqsave(lock, flags) save_and_cli(flags) #define write_unlock_irqrestore(lock, flags) restore_flags(flags)
#else --- 39,49 ---- #define write_lock_irq(lock) cli() #define write_unlock_irq(lock) sti()
! #define read_lock_irqsave(lock, flags) \ ! do { save_flags(flags); cli(); } while (0) #define read_unlock_irqrestore(lock, flags) restore_flags(flags) ! #define write_lock_irqsave(lock, flags) \ ! do { save_flags(flags); cli(); } while(0) #define write_unlock_irqrestore(lock, flags) restore_flags(flags)
#else
Now MILO loads the kernel, but I don't even get the first line about the boot arguments before it resets and returns to MILO. MILO is 2.0.27 and this is a PC164 system.
Any suggestions?
- |Daryll
| |