aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/bnx2
diff options
context:
space:
mode:
authorDaisuke Nishimura <nishimura@mxp.nes.nec.co.jp>2009-10-26 16:50:23 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-10-29 07:39:32 -0700
commitc36987e2ef32e1bb7850379515f21187cba44754 (patch)
tree0b0a6b6a54c2a80de86426a74367ec4b1f089b61 /firmware/bnx2
parentlis3: add support for the HP HDX 18 (diff)
downloadlinux-dev-c36987e2ef32e1bb7850379515f21187cba44754.tar.xz
linux-dev-c36987e2ef32e1bb7850379515f21187cba44754.zip
mm: don't call pte_unmap() against an improper pte
There are some places where we do like: pte = pte_map(); do { (do break in some conditions) } while (pte++, ...); pte_unmap(pte - 1); But if the loop breaks at the first loop, pte_unmap() unmaps invalid pte. This patch is a fix for this problem. Signed-off-by: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp> Reviewd-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Acked-by: Hugh Dickins <hugh.dickins@tiscali.co.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'firmware/bnx2')
0 files changed, 0 insertions, 0 deletions