Commit 5e77a281 authored by Aaro Koskinen's avatar Aaro Koskinen Committed by Greg Kroah-Hartman

staging: octeon-usb: inline CVMX_PREFETCH0

Inline CVMX_PREFETCH0 macro.
Signed-off-by: default avatarAaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e50aa24e
...@@ -57,7 +57,6 @@ ...@@ -57,7 +57,6 @@
#include <asm/octeon/cvmx-helper.h> #include <asm/octeon/cvmx-helper.h>
#include <asm/octeon/cvmx-helper-board.h> #include <asm/octeon/cvmx-helper-board.h>
#define CVMX_PREFETCH0(address) CVMX_PREFETCH(address, 0)
#define CVMX_PREFETCH128(address) CVMX_PREFETCH(address, 128) #define CVMX_PREFETCH128(address) CVMX_PREFETCH(address, 128)
// a normal prefetch // a normal prefetch
#define CVMX_PREFETCH(address, offset) CVMX_PREFETCH_PREF0(address, offset) #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 ...@@ -2667,7 +2666,7 @@ static int __cvmx_usb_poll_channel(struct cvmx_usb_internal_state *usb, int chan
if (!pipe) if (!pipe)
return 0; return 0;
transaction = pipe->head; transaction = pipe->head;
CVMX_PREFETCH0(transaction); CVMX_PREFETCH(transaction, 0);
/* /*
* Disconnect this pipe from the HW channel. Later the schedule * Disconnect this pipe from the HW channel. Later the schedule
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment