summaryrefslogtreecommitdiffstats
path: root/arch/alpha/boot
diff options
context:
space:
mode:
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();