diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2008-06-06 09:46:46 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-06-06 22:29:13 +0400 |
commit | d100d148aa48df3b6ad526a48624f906695efe60 (patch) | |
tree | 8ad38c91cca149b8a6b186c4808e30264e8fb106 /fs/exec.c | |
parent | 0842b245a8e6c14e3aa49f91018902591d1069b3 (diff) | |
download | linux-d100d148aa48df3b6ad526a48624f906695efe60.tar.xz |
nommu: fix ksize() abuse
The nommu binfmt code uses ksize() for pointers returned from do_mmap()
which is wrong. This converts the call-sites to use the nommu specific
kobjsize() function which works as expected.
Cc: Christoph Lameter <clameter@sgi.com>
Cc: Matt Mackall <mpm@selenic.com>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Acked-by: Greg Ungerer <gerg@snapgear.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/exec.c')
0 files changed, 0 insertions, 0 deletions