patch-2.2.11 linux/arch/alpha/boot/bootp.c
Next file: linux/arch/alpha/boot/main.c
Previous file: linux/arch/alpha/Makefile
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Mon Aug 9 12:04:38 1999
- Orig file:
v2.2.10/linux/arch/alpha/boot/bootp.c
- Orig date:
Mon Oct 12 11:40:12 1998
diff -u --recursive --new-file v2.2.10/linux/arch/alpha/boot/bootp.c linux/arch/alpha/boot/bootp.c
@@ -200,11 +200,11 @@
load(START_ADDR+(4*KERNEL_SIZE), KERNEL_ORIGIN, KERNEL_SIZE);
load(START_ADDR, START_ADDR+(4*KERNEL_SIZE), KERNEL_SIZE);
- memset((char*)ZERO_PAGE, 0, PAGE_SIZE);
- strcpy((char*)ZERO_PAGE, envval);
+ memset((char*)ZERO_PAGE(0), 0, PAGE_SIZE);
+ strcpy((char*)ZERO_PAGE(0), envval);
#ifdef INITRD_SIZE
- ((long *)(ZERO_PAGE+256))[0] = initrd_start;
- ((long *)(ZERO_PAGE+256))[1] = INITRD_SIZE;
+ ((long *)(ZERO_PAGE(0)+256))[0] = initrd_start;
+ ((long *)(ZERO_PAGE(0)+256))[1] = INITRD_SIZE;
#endif
runkernel();
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)