diff options
author | Vishnu Suresh <Vishnu@freescale.com> | 2008-10-20 13:06:18 (GMT) |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-12-25 00:01:17 (GMT) |
commit | 4b24ea971a93f5d0bec34bf7bfd0939f70cfaae6 (patch) | |
tree | d45d4e98934da0226c5f88474deaa36910ace25e /lib/smp_processor_id.c | |
parent | 32bd78e0a5d34cd8e34046502bddcf31aeb38e64 (diff) | |
download | linux-fsl-qoriq-4b24ea971a93f5d0bec34bf7bfd0939f70cfaae6.tar.xz |
crypto: talitos - Preempt overflow interrupts off-by-one fix
In commit ec6644d6325b5a38525f1d5b20fd4bf7db05cf2a "crypto: talitos - Preempt
overflow interrupts", the test in atomic_inc_not_zero was interpreted by the
author to be applied after the increment operation (not before). This off-by-one
fix prevents overflow error interrupts from occurring when requests are frequent
and large enough to do so.
Signed-off-by: Vishnu Suresh <Vishnu@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/smp_processor_id.c')
0 files changed, 0 insertions, 0 deletions