Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Running 2.1.36 on Alpha?
@ 1997-04-24 18:49 Daryll Strauss
  0 siblings, 0 replies; only message in thread
From: Daryll Strauss @ 1997-04-24 18:49 UTC (permalink / raw)


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

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-04-24 18:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-04-24 18:49 Running 2.1.36 on Alpha? Daryll Strauss

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