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)
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>

No differences found