[PARISC] Remove hardcoded uses of PAGE_SIZE
authorKyle McMartin <kyle@mcmartin.ca>
Thu, 18 Oct 2007 07:04:53 +0000 (00:04 -0700)
committerKyle McMartin <kyle@shortfin.cabal.ca>
Thu, 18 Oct 2007 07:59:27 +0000 (00:59 -0700)
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
arch/parisc/hpux/gate.S
arch/parisc/kernel/entry.S
arch/parisc/kernel/hpmc.S
arch/parisc/kernel/init_task.c
arch/parisc/kernel/syscall.S

index 0b9d5b1e4b37e0ccec15e8e3c819071f47adf422..38a1c1b8d4e8e11093b3a35db9d95ca98749ed1a 100644 (file)
@@ -20,7 +20,7 @@
        .import hpux_call_table
        .import hpux_syscall_exit,code
 
-       .align 4096
+       .align  PAGE_SIZE
 ENTRY(hpux_gateway_page)
        nop
 #ifdef CONFIG_64BIT
@@ -103,5 +103,5 @@ syscall_nosys:
        ldo     -ENOSYS(%r0),%r28
 ENDPROC(hpux_gateway_page)
 
-       .align 4096
+       .align  PAGE_SIZE
 ENTRY(end_hpux_gateway_page)
index 42598abf45763ccd4c9d2c4b1f2970eb6be8b50f..f324939bb9af2bd1f328e5850238e700dd9f2f5e 100644 (file)
 
        .text
 
-       .align 4096
+       .align  PAGE_SIZE
 
 ENTRY(fault_vector_20)
        /* First vector is invalid (0) */
@@ -904,7 +904,7 @@ ENDPROC(_switch_to)
         *
         */
 
-       .align 4096
+       .align  PAGE_SIZE
 
 ENTRY(syscall_exit_rfi)
        mfctl   %cr30,%r16
index 43b41df0b54106b0c38862ed52762fa4ddc405fd..2cbf13b3ef11d0a1ff62f7eb5cec9b1c96333371 100644 (file)
         * IODC requires 7K byte stack.  That leaves 1K byte for os_hpmc.
         */
 
-       .align 4096
+       .align  PAGE_SIZE
 hpmc_stack:
        .block 16384
 
 #define HPMC_IODC_BUF_SIZE 0x8000
 
-       .align 4096
+       .align  PAGE_SIZE
 hpmc_iodc_buf:
        .block HPMC_IODC_BUF_SIZE
 
index 446f98d3fd7bd025018bac31b36034b9e0753a96..3b2f7d395bdec36d897ac280fdd6c3e6d3d9888c 100644 (file)
@@ -49,7 +49,7 @@ EXPORT_SYMBOL(init_mm);
  * way process stacks are handled. This is done by having a special
  * "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
        __attribute__((aligned(128))) __attribute__((__section__(".data.init_task"))) =
                { INIT_THREAD_INFO(init_task) };
index 06cde9e700e9db772506b374ebbb13b819acdc5c..69b6eebc466ea4860261d6ff9c503bae308a748c 100644 (file)
@@ -637,7 +637,7 @@ END(sys_call_table64)
                will use this set of locks 
        */
        .section .data
-       .align 4096
+       .align  PAGE_SIZE
 ENTRY(lws_lock_start)
        /* lws locks */
        .align 16