summaryrefslogtreecommitdiffstats
path: root/arch/alpha/boot
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1999-06-21 22:16:05 +0000
committerRalf Baechle <ralf@linux-mips.org>1999-06-21 22:16:05 +0000
commit73ed328f3a698087551b4d6a36196b0819bc38af (patch)
treed0907f2e7e5f36ea0808ed6b1f10c5caf51478a5 /arch/alpha/boot
parent89a61cd744a621efff2a4d7f0d99258f850338f2 (diff)
Cleanup, sync with others sources.
Diffstat (limited to 'arch/alpha/boot')
-rw-r--r--arch/alpha/boot/bootp.c8
-rw-r--r--arch/alpha/boot/main.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/arch/alpha/boot/bootp.c b/arch/alpha/boot/bootp.c
index 34645a643..90fccb766 100644
--- a/arch/alpha/boot/bootp.c
+++ b/arch/alpha/boot/bootp.c
@@ -200,11 +200,11 @@ start_kernel(void)
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();
diff --git a/arch/alpha/boot/main.c b/arch/alpha/boot/main.c
index dd4e47ab5..c97896e8b 100644
--- a/arch/alpha/boot/main.c
+++ b/arch/alpha/boot/main.c
@@ -182,7 +182,7 @@ void start_kernel(void)
nbytes = 0;
}
envval[nbytes] = '\0';
- strcpy((char*)ZERO_PAGE, envval);
+ strcpy((char*)ZERO_PAGE(0), envval);
srm_printk(" Ok\nNow booting the kernel\n");
runkernel();