]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/parisc/lib/memcpy.c
Merge branch 'fix/hda' into for-linus
[mv-sheeva.git] / arch / parisc / lib / memcpy.c
index 2d68431fc22e98a818dd3ecaca049c93c9196d5e..abf41f4632a9fca1b8df2c4ba963c2e328e553e7 100644 (file)
@@ -275,7 +275,7 @@ handle_store_error:
 
 
 /* Returns 0 for success, otherwise, returns number of bytes not transferred. */
-unsigned long pa_memcpy(void *dstp, const void *srcp, unsigned long len)
+static unsigned long pa_memcpy(void *dstp, const void *srcp, unsigned long len)
 {
        register unsigned long src, dst, t1, t2, t3;
        register unsigned char *pcs, *pcd;
@@ -405,7 +405,7 @@ byte_copy:
 
 unaligned_copy:
        /* possibly we are aligned on a word, but not on a double... */
-       if (likely(t1 & (sizeof(unsigned int)-1)) == 0) {
+       if (likely((t1 & (sizeof(unsigned int)-1)) == 0)) {
                t2 = src & (sizeof(unsigned int) - 1);
 
                if (unlikely(t2 != 0)) {