Commit 2b41d113 authored by Anton Blanchard's avatar Anton Blanchard

ppc64: cleanup some hardcoded constants

parent 4e3a4e04
...@@ -1863,9 +1863,9 @@ _STATIC(start_here_common) ...@@ -1863,9 +1863,9 @@ _STATIC(start_here_common)
li r5,0 li r5,0
std r0,PACAKSAVE(r13) std r0,PACAKSAVE(r13)
/* ptr to hardware interrupt stack for processor 0 */ /* ptr to hardware interrupt stack for boot processor */
LOADADDR(r3, hardware_int_paca0) LOADADDR(r3, hardware_int_paca0)
li r5,0x1000 li r5,PAGE_SIZE
sldi r5,r5,3 sldi r5,r5,3
subi r5,r5,STACK_FRAME_OVERHEAD subi r5,r5,STACK_FRAME_OVERHEAD
...@@ -1993,7 +1993,7 @@ ioremap_dir: ...@@ -1993,7 +1993,7 @@ ioremap_dir:
.globl hardware_int_paca0 .globl hardware_int_paca0
hardware_int_paca0: hardware_int_paca0:
.space 8*4096 .space 8*PAGE_SIZE
/* 1 page segment table per cpu (max 48, cpu0 allocated at STAB0_PHYS_ADDR) */ /* 1 page segment table per cpu (max 48, cpu0 allocated at STAB0_PHYS_ADDR) */
.globl stab_array .globl stab_array
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment