aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/prom
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2007-07-24 12:02:40 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-24 12:24:59 -0700
commitb8c1c5da1520977cb55a358f20fc09567d40cad9 (patch)
treec762e6ad77297beed0978337ce2f5b0c50add739 /arch/sparc/prom
parentloop.h build fix (diff)
downloadlinux-dev-b8c1c5da1520977cb55a358f20fc09567d40cad9.tar.xz
linux-dev-b8c1c5da1520977cb55a358f20fc09567d40cad9.zip
slab: correctly handle __GFP_ZERO
Use the correct local variable when calling into the page allocator. Local `flags' can have __GFP_ZERO set, which causes us to pass __GFP_ZERO into the page allocator, possibly from illegal contexts. The page allocator will later do prep_zero_page()->kmap_atomic(..., KM_USER0) from irq contexts and will then go BUG. Cc: Mike Galbraith <efault@gmx.de> Acked-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/sparc/prom')
0 files changed, 0 insertions, 0 deletions