aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/futex_compat.c
diff options
context:
space:
mode:
authorSebastian Siewior <sebastian@breakpoint.cc>2007-10-21 16:18:12 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2008-01-11 08:16:05 +1100
commit1f4e4773761d0aa622411469b54d6570005a66b1 (patch)
tree9823633e791570d01a6711d69f0d8a6167b1c629 /kernel/futex_compat.c
parent[CRYPTO] geode: use consistent IV copy (diff)
downloadlinux-dev-1f4e4773761d0aa622411469b54d6570005a66b1.tar.xz
linux-dev-1f4e4773761d0aa622411469b54d6570005a66b1.zip
[CRYPTO] geode: relax in busy loop and care about return value
The code waits in a busy loop until the hardware finishes the encryption or decryption process. This wants a cpu_relax() :) The busy loop finishes either if the encryption is done or if the counter is zero. If the latter is true than the hardware failed. Since this should not happen, leave sith a BUG(). Signed-off-by: Sebastian Siewior <sebastian@breakpoint.cc> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'kernel/futex_compat.c')
0 files changed, 0 insertions, 0 deletions