diff options
| author | Dan Streetman <ddstreet@ieee.org> | 2015-07-22 21:26:33 +0300 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-07-23 13:14:30 +0300 |
| commit | 7f6e3aad5ab31c310b36bf0edcd305305b20e2a8 (patch) | |
| tree | fbf9d3ddc0e990c2dac76192b7b346a7fdbf6b3d /include/linux | |
| parent | 90fd73f912f0897bc22351b55925a4962c045086 (diff) | |
| download | linux-7f6e3aad5ab31c310b36bf0edcd305305b20e2a8.tar.xz | |
crypto: nx - move kzalloc() out of spinlock
Move the kzalloc() calls in nx842_probe() and nx842_OF_upd() to the top
of the functions, before taking the devdata spinlock.
Since kzalloc() without GFP_ATOMIC can sleep, it can't be called while
holding a spinlock. Move the calls to before taking the lock.
Signed-off-by: Dan Streetman <ddstreet@ieee.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
