Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Daryll Strauss <daryll@d2.com>
Subject: Running 2.1.36 on Alpha?
Date: Thu, 24 Apr 1997 11:49:40 -0700 (PDT)	[thread overview]
Message-ID: <199704241849.LAA20699@jolt.d2.com> (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

                 reply	other threads:[~1997-04-24 18:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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