lkml.org 
[lkml]   [1997]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRunning 2.1.36 on Alpha?
Date


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

\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.939 / U:1.888 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site