patch-2.4.21 linux-2.4.21/arch/ppc/mm/hashtable.S
Next file: linux-2.4.21/arch/ppc/mm/init.c
Previous file: linux-2.4.21/arch/ppc/mm/fault.c
Back to the patch index
Back to the overall index
- Lines: 42
- Date:
2003-06-13 07:51:31.000000000 -0700
- Orig file:
linux-2.4.20/arch/ppc/mm/hashtable.S
- Orig date:
2002-11-28 15:53:11.000000000 -0800
diff -urN linux-2.4.20/arch/ppc/mm/hashtable.S linux-2.4.21/arch/ppc/mm/hashtable.S
@@ -1,7 +1,4 @@
/*
- * BK Id: %F% %I% %G% %U% %#%
- */
-/*
* arch/ppc/kernel/hashtable.S
*
* $Id: hashtable.S,v 1.6 1999/10/08 01:56:15 paulus Exp $
@@ -27,7 +24,6 @@
*/
#include <linux/config.h>
-#include <asm/ppc_asm.h>
#include <asm/processor.h>
#include <asm/page.h>
#include <asm/pgtable.h>
@@ -335,25 +331,6 @@
ori r8,r8,_PAGE_COHERENT /* set M (coherence required) */
#endif
-#ifdef CONFIG_POWER4
- /*
- * XXX hack hack hack - translate 32-bit "physical" addresses
- * in the linux page tables to 42-bit real addresses in such
- * a fashion that we can get at the I/O we need to access.
- * -- paulus
- */
- cmpwi r8,0
- rlwinm r0,r8,16,16,30
- bge 57f
- cmplwi r0,0xfe00
- li r0,0x3fd
- bne 56f
- li r0,0x3ff
-56: sldi r0,r0,32
- or r8,r8,r0
-57:
-#endif
-
/* Construct the high word of the PPC-style PTE (r5) */
#ifndef CONFIG_PPC64BRIDGE
rlwinm r5,r3,7,1,24 /* put VSID in 0x7fffff80 bits */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)