patch-2.3.39 linux/arch/sparc/kernel/wuf.S

Next file: linux/arch/sparc/lib/copy_user.S
Previous file: linux/arch/sparc/kernel/wof.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.38/linux/arch/sparc/kernel/wuf.S linux/arch/sparc/kernel/wuf.S
@@ -1,4 +1,4 @@
-/* $Id: wuf.S,v 1.38 1999/08/14 03:51:36 anton Exp $
+/* $Id: wuf.S,v 1.39 2000/01/08 16:38:18 anton Exp $
  * wuf.S: Window underflow trap handler for the Sparc.
  *
  * Copyright (C) 1995 David S. Miller
@@ -300,7 +300,7 @@
 
 	/* Caller did 'andcc %sp, 0x7, %g0' */
 	bne	fwin_user_stack_is_bolixed
-	 GET_PAGE_OFFSET(l5)
+	 sethi   %hi(PAGE_OFFSET), %l5
 
 	/* Check if the users stack is in kernel vma, then our
 	 * trial and error technique below would succeed for

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)