diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2013-10-01 23:43:16 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-03 13:38:06 -0700 |
commit | 1e50e9ac319095b3395c65fca1d56681eb6e6782 (patch) | |
tree | a28389fb2119650289d9c4ebe51b65c059cd3f25 /drivers/staging/octeon-usb | |
parent | 10828735df0d6a38d59f704fe9c69310488e668e (diff) | |
download | op-kernel-dev-1e50e9ac319095b3395c65fca1d56681eb6e6782.zip op-kernel-dev-1e50e9ac319095b3395c65fca1d56681eb6e6782.tar.gz |
staging: octeon-usb: eliminate CVMX_PREFETCH_PREF0
Eliminate CVMX_PREFETCH_PREF0.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/octeon-usb')
-rw-r--r-- | drivers/staging/octeon-usb/cvmx-usb.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/staging/octeon-usb/cvmx-usb.c b/drivers/staging/octeon-usb/cvmx-usb.c index c5e680d..d53daf7 100644 --- a/drivers/staging/octeon-usb/cvmx-usb.c +++ b/drivers/staging/octeon-usb/cvmx-usb.c @@ -57,11 +57,9 @@ #include <asm/octeon/cvmx-helper.h> #include <asm/octeon/cvmx-helper-board.h> -// a normal prefetch -#define CVMX_PREFETCH(address, offset) CVMX_PREFETCH_PREF0(address, offset) // normal prefetches that use the pref instruction #define CVMX_PREFETCH_PREFX(X, address, offset) asm volatile ("pref %[type], %[off](%[rbase])" : : [rbase] "d" (address), [off] "I" (offset), [type] "n" (X)) -#define CVMX_PREFETCH_PREF0(address, offset) CVMX_PREFETCH_PREFX(0, address, offset) +#define CVMX_PREFETCH(address, offset) CVMX_PREFETCH_PREFX(0, address, offset) #define MAX_RETRIES 3 /* Maximum number of times to retry failed transactions */ #define MAX_PIPES 32 /* Maximum number of pipes that can be open at once */ |