]> Pileus Git - ~andy/linux/commitdiff
staging: octeon-usb: inline CVMX_PREFETCH0
authorAaro Koskinen <aaro.koskinen@iki.fi>
Tue, 1 Oct 2013 20:43:14 +0000 (23:43 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Oct 2013 20:38:05 +0000 (13:38 -0700)
Inline CVMX_PREFETCH0 macro.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon-usb/cvmx-usb.c

index c57e798cc072177e34cadc809134059e57a8511d..b827e8dd3c47d6be1fa417f0ea9d1040b803a426 100644 (file)
@@ -57,7 +57,6 @@
 #include <asm/octeon/cvmx-helper.h>
 #include <asm/octeon/cvmx-helper-board.h>
 
-#define CVMX_PREFETCH0(address) CVMX_PREFETCH(address, 0)
 #define CVMX_PREFETCH128(address) CVMX_PREFETCH(address, 128)
 // a normal prefetch
 #define CVMX_PREFETCH(address, offset) CVMX_PREFETCH_PREF0(address, offset)
@@ -2667,7 +2666,7 @@ static int __cvmx_usb_poll_channel(struct cvmx_usb_internal_state *usb, int chan
        if (!pipe)
                return 0;
        transaction = pipe->head;
-       CVMX_PREFETCH0(transaction);
+       CVMX_PREFETCH(transaction, 0);
 
        /*
         * Disconnect this pipe from the HW channel. Later the schedule