OSDN Git Service

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)
commit51fc41a90603eaee7b6d03b6027be8f22fcf8ef9
tree87f240d64051f5747027e07592f0ec50cbdd4e37
parent7711ece9b31f0f3cf15ca16005dfd78988ea8f7e
xtensa: fix fast_store_prohibited _PAGE_WRITABLE_BIT test

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>
arch/xtensa/kernel/entry.S