patch-2.4.13 linux/include/asm-arm/mach/arch.h

Next file: linux/include/asm-arm/param.h
Previous file: linux/include/asm-arm/io.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.12/linux/include/asm-arm/mach/arch.h linux/include/asm-arm/mach/arch.h
@@ -27,7 +27,8 @@
 	unsigned int		nr;		/* architecture number	*/
 	unsigned int		phys_ram;	/* start of physical ram */
 	unsigned int		phys_io;	/* start of physical io	*/
-	unsigned int		virt_io;	/* start of virtual io	*/
+	unsigned int		io_pg_offst;	/* byte offset for io 
+						 * page tabe entry	*/
 
 	const char		*name;		/* architecture name	*/
 	unsigned int		param_offset;	/* parameter page	*/
@@ -59,9 +60,9 @@
 #define MAINTAINER(n)
 
 #define BOOT_MEM(_pram,_pio,_vio)		\
-	phys_ram:	_pram,			\
-	phys_io:	_pio,			\
-	virt_io:	_vio,
+	phys_ram:	_pram,	                \
+	phys_io:	_pio,  	                \
+	io_pg_offst:	((_vio)>>18)&0xfffc,
 
 #define BOOT_PARAMS(_params)			\
 	param_offset:	_params,

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