diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-11-01 09:53:58 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-11-01 09:53:58 -0700 |
commit | 42c0202363194007a1ac377d047a95aa39246eb0 (patch) | |
tree | 305e145fe0ee60580a127a7b72ce0d7ad582258e /arch | |
parent | cdce1f0931831cebfbeb811a266a2f4adf5c8a35 (diff) | |
download | linux-42c0202363194007a1ac377d047a95aa39246eb0.tar.bz2 |
reserve_region_with_split: Fix GFP_KERNEL usage under spinlock
This one apparently doesn't generate any warnings, because the function
is only used during system bootup, when the warnings are disabled. But
it's still very wrong.
The __reserve_region_with_split() function is called with the
resource_lock held for writing, so it must only ever do GFP_ATOMIC
allocations.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions