ARM: ecard: ensure fake vma vm_flags is setup
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 5 Mar 2012 23:29:51 +0000 (23:29 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 5 Mar 2012 23:29:51 +0000 (23:29 +0000)
commit81caaf2503be8fbb738ea4f124063dcc24958397
tree9e14cfa2b1e5108de9236a320d430ef553cec94b
parent43a6955fa8c3ac2e7c31959e8b77a1166dbd13f3
ARM: ecard: ensure fake vma vm_flags is setup

Our TLB ops want to check the vma vm_flags to find out whether the
mapping is executable.  However, we leave this uninitialized in
ecard.c.  Initialize it with an appropriate value.

Reported-by: Al Viro <viro@ftp.linux.org.uk>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/ecard.c