Commit 873d50e2 authored by Kyle McMartin's avatar Kyle McMartin Committed by Kyle McMartin

[PARISC] Remove hardcoded uses of PAGE_SIZE

Signed-off-by: default avatarKyle McMartin <kyle@mcmartin.ca>
parent 6ebeafff
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
.import hpux_call_table .import hpux_call_table
.import hpux_syscall_exit,code .import hpux_syscall_exit,code
.align 4096 .align PAGE_SIZE
ENTRY(hpux_gateway_page) ENTRY(hpux_gateway_page)
nop nop
#ifdef CONFIG_64BIT #ifdef CONFIG_64BIT
...@@ -103,5 +103,5 @@ syscall_nosys: ...@@ -103,5 +103,5 @@ syscall_nosys:
ldo -ENOSYS(%r0),%r28 ldo -ENOSYS(%r0),%r28
ENDPROC(hpux_gateway_page) ENDPROC(hpux_gateway_page)
.align 4096 .align PAGE_SIZE
ENTRY(end_hpux_gateway_page) ENTRY(end_hpux_gateway_page)
...@@ -652,7 +652,7 @@ ...@@ -652,7 +652,7 @@
.text .text
.align 4096 .align PAGE_SIZE
ENTRY(fault_vector_20) ENTRY(fault_vector_20)
/* First vector is invalid (0) */ /* First vector is invalid (0) */
...@@ -904,7 +904,7 @@ ENDPROC(_switch_to) ...@@ -904,7 +904,7 @@ ENDPROC(_switch_to)
* *
*/ */
.align 4096 .align PAGE_SIZE
ENTRY(syscall_exit_rfi) ENTRY(syscall_exit_rfi)
mfctl %cr30,%r16 mfctl %cr30,%r16
......
...@@ -55,13 +55,13 @@ ...@@ -55,13 +55,13 @@
* IODC requires 7K byte stack. That leaves 1K byte for os_hpmc. * IODC requires 7K byte stack. That leaves 1K byte for os_hpmc.
*/ */
.align 4096 .align PAGE_SIZE
hpmc_stack: hpmc_stack:
.block 16384 .block 16384
#define HPMC_IODC_BUF_SIZE 0x8000 #define HPMC_IODC_BUF_SIZE 0x8000
.align 4096 .align PAGE_SIZE
hpmc_iodc_buf: hpmc_iodc_buf:
.block HPMC_IODC_BUF_SIZE .block HPMC_IODC_BUF_SIZE
......
...@@ -49,7 +49,7 @@ EXPORT_SYMBOL(init_mm); ...@@ -49,7 +49,7 @@ EXPORT_SYMBOL(init_mm);
* way process stacks are handled. This is done by having a special * way process stacks are handled. This is done by having a special
* "init_task" linker map entry.. * "init_task" linker map entry..
*/ */
unsigned char interrupt_stack[ISTACK_SIZE] __attribute__ ((section("init_istack"), aligned(4096))); unsigned char interrupt_stack[ISTACK_SIZE] __attribute__ ((section("init_istack"), aligned(PAGE_SIZE)));
union thread_union init_thread_union union thread_union init_thread_union
__attribute__((aligned(128))) __attribute__((__section__(".data.init_task"))) = __attribute__((aligned(128))) __attribute__((__section__(".data.init_task"))) =
{ INIT_THREAD_INFO(init_task) }; { INIT_THREAD_INFO(init_task) };
......
...@@ -637,7 +637,7 @@ END(sys_call_table64) ...@@ -637,7 +637,7 @@ END(sys_call_table64)
will use this set of locks will use this set of locks
*/ */
.section .data .section .data
.align 4096 .align PAGE_SIZE
ENTRY(lws_lock_start) ENTRY(lws_lock_start)
/* lws locks */ /* lws locks */
.align 16 .align 16
......
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