xtensa: fix fast_store_prohibited _PAGE_WRITABLE_BIT test
authorMax Filippov <jcmvbkbc@gmail.com>
Sat, 18 May 2013 19:34:30 +0000 (23:34 +0400)
committerChris Zankel <chris@zankel.net>
Mon, 20 May 2013 18:48:23 +0000 (11:48 -0700)
Before _PAGE_WRITABLE_BIT test fast_store_prohibited must make sure that
PTE is present. Otherwise 'writable' bit is undefined and may be reused
in the 'file offset' or 'swap type' PTE fields.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>

No differences found