patch-2.3.25 linux/arch/arm/mm/mm-rpc.c
Next file: linux/arch/arm/mm/mm-tbox.c
Previous file: linux/arch/arm/mm/mm-nexuspci.c
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Thu Oct 28 10:16:02 1999
- Orig file:
v2.3.24/linux/arch/arm/mm/mm-rpc.c
- Orig date:
Fri Oct 22 13:21:44 1999
diff -u --recursive --new-file v2.3.24/linux/arch/arm/mm/mm-rpc.c linux/arch/arm/mm/mm-rpc.c
@@ -16,28 +16,6 @@
#define SIZE(x) (sizeof(x) / sizeof(x[0]))
-struct mem_desc mem_desc[] __initdata = {
- { 0xc0000000, 0xc0000000 },
- { 0xc4000000, 0xc4000000 },
- { 0xc8000000, 0xc8000000 },
- { 0xcc000000, 0xcc000000 }
-};
-
-unsigned int __initdata mem_desc_size = SIZE(mem_desc);
-
-void __init
-init_dram_banks(struct param_struct *params)
-{
- unsigned int bank;
-
- for (bank = 0; bank < mem_desc_size; bank++)
- mem_desc[bank].virt_end += PAGE_SIZE *
- params->u1.s.pages_in_bank[bank];
-
- params->u1.s.nr_pages = mem_desc[3].virt_end - PAGE_OFFSET;
- params->u1.s.nr_pages /= PAGE_SIZE;
-}
-
struct map_desc io_desc[] __initdata = {
/* VRAM */
{ SCREEN2_BASE, SCREEN_START, 2*1048576, DOMAIN_IO, 0, 1, 0, 0 },
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)