diff options
Diffstat (limited to 'arch/parisc/kernel/pacache.S')
-rw-r--r-- | arch/parisc/kernel/pacache.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/parisc/kernel/pacache.S b/arch/parisc/kernel/pacache.S index 90b240878520..5901092e0196 100644 --- a/arch/parisc/kernel/pacache.S +++ b/arch/parisc/kernel/pacache.S | |||
@@ -289,7 +289,7 @@ ENTRY(copy_user_page_asm) | |||
289 | */ | 289 | */ |
290 | 290 | ||
291 | ldd 0(%r25), %r19 | 291 | ldd 0(%r25), %r19 |
292 | ldi ASM_PAGE_SIZE_DIV128, %r1 | 292 | ldi (PAGE_SIZE / 128), %r1 |
293 | 293 | ||
294 | ldw 64(%r25), %r0 /* prefetch 1 cacheline ahead */ | 294 | ldw 64(%r25), %r0 /* prefetch 1 cacheline ahead */ |
295 | ldw 128(%r25), %r0 /* prefetch 2 */ | 295 | ldw 128(%r25), %r0 /* prefetch 2 */ |
@@ -355,7 +355,7 @@ ENTRY(copy_user_page_asm) | |||
355 | * use ldd/std on a 32 bit kernel. | 355 | * use ldd/std on a 32 bit kernel. |
356 | */ | 356 | */ |
357 | ldw 0(%r25), %r19 | 357 | ldw 0(%r25), %r19 |
358 | ldi ASM_PAGE_SIZE_DIV64, %r1 | 358 | ldi (PAGE_SIZE / 64), %r1 |
359 | 359 | ||
360 | 1: | 360 | 1: |
361 | ldw 4(%r25), %r20 | 361 | ldw 4(%r25), %r20 |
@@ -553,7 +553,7 @@ ENTRY(__clear_user_page_asm) | |||
553 | pdtlb 0(%r28) | 553 | pdtlb 0(%r28) |
554 | 554 | ||
555 | #ifdef CONFIG_64BIT | 555 | #ifdef CONFIG_64BIT |
556 | ldi ASM_PAGE_SIZE_DIV128, %r1 | 556 | ldi (PAGE_SIZE / 128), %r1 |
557 | 557 | ||
558 | /* PREFETCH (Write) has not (yet) been proven to help here */ | 558 | /* PREFETCH (Write) has not (yet) been proven to help here */ |
559 | /* #define PREFETCHW_OP ldd 256(%0), %r0 */ | 559 | /* #define PREFETCHW_OP ldd 256(%0), %r0 */ |
@@ -578,7 +578,7 @@ ENTRY(__clear_user_page_asm) | |||
578 | ldo 128(%r28), %r28 | 578 | ldo 128(%r28), %r28 |
579 | 579 | ||
580 | #else /* ! CONFIG_64BIT */ | 580 | #else /* ! CONFIG_64BIT */ |
581 | ldi ASM_PAGE_SIZE_DIV64, %r1 | 581 | ldi (PAGE_SIZE / 64), %r1 |
582 | 582 | ||
583 | 1: | 583 | 1: |
584 | stw %r0, 0(%r28) | 584 | stw %r0, 0(%r28) |