sethae() syscall broken for AXP [fix]

Egbert Eich (eich@hilbert.ikp.physik.tu-darmstadt.de)
Wed, 15 Dec 1999 13:27:55 +0100 (MET)


A bug in arch/alpha/kernel/entry.S prevents the
sethae() syscall to set the hardware extension
register correctly.
Appearantly nobody has ever used this syscall.
XFree86 4.0 needs to access PCI sparse memory
space above the first 128MB of physical address
space in multi-head configurations, so it needs
to be fixed.

Regards,
Egbert.

This fix is against 2.2.31. It should apply to 2.1.13,
too.

*** linux/arch/alpha/kernel/entry.S.orig Sun Dec 12 00:07:30 1999
--- linux/arch/alpha/kernel/entry.S Sun Dec 12 00:07:43 1999
***************
*** 84,91 ****
ldq $1,8($30); \
ldq $2,16($30); \
ldq $3,24($30); \
! ldq $20,152($30); \
! ldq $21,HAE_CACHE($19); \
ldq $4,32($30); \
ldq $5,40($30); \
ldq $6,48($30); \
--- 84,91 ----
ldq $1,8($30); \
ldq $2,16($30); \
ldq $3,24($30); \
! ldq $20,HAE_CACHE($19); \
! ldq $21,152($30); \
ldq $4,32($30); \
ldq $5,40($30); \
ldq $6,48($30); \

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/