score: fix dereference of NULL pointer in local_flush_tlb_page()
authorRoel Kluin <roel.kluin@gmail.com>
Wed, 11 Aug 2010 21:17:31 +0000 (14:17 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 12 Aug 2010 15:43:29 +0000 (08:43 -0700)
commit17e465034a174d23e08cbb964aeda5e41e5d84ca
tree212dca6a4872d496014a0ead9c34fb7ed885b4bb
parent7b958090458e99456b8c1a0f644923b6b9fdd358
score: fix dereference of NULL pointer in local_flush_tlb_page()

Don't dereference vma if it's NULL.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: Chen Liqin <liqin.chen@sunplusct.com>
Cc: Lennox Wu <lennox.wu@gmail.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/score/mm/tlb-score.c