diff options
-rw-r--r-- | arch/parisc/Makefile | 2 | ||||
-rw-r--r-- | arch/parisc/lib/memcpy.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/parisc/Makefile b/arch/parisc/Makefile index 3b339b1cce13..e3549f480fa5 100644 --- a/arch/parisc/Makefile +++ b/arch/parisc/Makefile | |||
@@ -43,7 +43,7 @@ cflags-y += -mno-space-regs -mfast-indirect-calls | |||
43 | # Currently we save and restore fpregs on all kernel entry/interruption paths. | 43 | # Currently we save and restore fpregs on all kernel entry/interruption paths. |
44 | # If that gets optimized, we might need to disable the use of fpregs in the | 44 | # If that gets optimized, we might need to disable the use of fpregs in the |
45 | # kernel. | 45 | # kernel. |
46 | #cflags-y += -mdisable-fpregs | 46 | cflags-y += -mdisable-fpregs |
47 | 47 | ||
48 | # Without this, "ld -r" results in .text sections that are too big | 48 | # Without this, "ld -r" results in .text sections that are too big |
49 | # (> 0x40000) for branches to reach stubs. | 49 | # (> 0x40000) for branches to reach stubs. |
diff --git a/arch/parisc/lib/memcpy.c b/arch/parisc/lib/memcpy.c index feb1b9f42c2b..b7098035321f 100644 --- a/arch/parisc/lib/memcpy.c +++ b/arch/parisc/lib/memcpy.c | |||
@@ -339,6 +339,7 @@ unsigned long pa_memcpy(void *dstp, const void *srcp, unsigned long len) | |||
339 | pds = (double *)pcs; | 339 | pds = (double *)pcs; |
340 | pdd = (double *)pcd; | 340 | pdd = (double *)pcd; |
341 | 341 | ||
342 | #if 0 | ||
342 | /* Copy 8 doubles at a time */ | 343 | /* Copy 8 doubles at a time */ |
343 | while (len >= 8*sizeof(double)) { | 344 | while (len >= 8*sizeof(double)) { |
344 | register double r1, r2, r3, r4, r5, r6, r7, r8; | 345 | register double r1, r2, r3, r4, r5, r6, r7, r8; |
@@ -366,6 +367,7 @@ unsigned long pa_memcpy(void *dstp, const void *srcp, unsigned long len) | |||
366 | fstdma(d_space, r8, pdd, pmc_store_exc); | 367 | fstdma(d_space, r8, pdd, pmc_store_exc); |
367 | len -= 8*sizeof(double); | 368 | len -= 8*sizeof(double); |
368 | } | 369 | } |
370 | #endif | ||
369 | 371 | ||
370 | pws = (unsigned int *)pds; | 372 | pws = (unsigned int *)pds; |
371 | pwd = (unsigned int *)pdd; | 373 | pwd = (unsigned int *)pdd; |