summaryrefslogtreecommitdiffstats
path: root/net/socket.c
diff options
context:
space:
mode:
authorVictor Kamensky2013-11-16 01:01:05 +0100
committerWim Van Sebroeck2013-11-17 19:42:38 +0100
commit4a7e94a0637da7e1ddce748da49ae780c370eeef (patch)
tree561c2e0628f2d4851593e57bb48f45facb7b2a70 /net/socket.c
parentwatchdog: sirf: don't depend on dummy value of CLOCK_TICK_RATE (diff)
downloadkernel-qcow2-linux-4a7e94a0637da7e1ddce748da49ae780c370eeef.tar.gz
kernel-qcow2-linux-4a7e94a0637da7e1ddce748da49ae780c370eeef.tar.xz
kernel-qcow2-linux-4a7e94a0637da7e1ddce748da49ae780c370eeef.zip
watchdog: omap_wdt: raw read and write endian fix
All OMAP IP blocks expect LE data, but CPU may operate in BE mode. Need to use endian neutral functions to read/write h/w registers. I.e instead of __raw_read[lw] and __raw_write[lw] functions code need to use read[lw]_relaxed and write[lw]_relaxed functions. If the first simply reads/writes register, the second will byteswap it if host operates in BE mode. Changes are trivial sed like replacement of __raw_xxx functions with xxx_relaxed variant. Signed-off-by: Victor Kamensky <victor.kamensky@linaro.org> Signed-off-by: Taras Kondratiuk <taras.kondratiuk@linaro.org> Acked-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions