diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2006-10-28 10:38:46 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-28 11:30:54 -0700 |
commit | 5fa3839a64203b2ab727dcb37da9b2d7079fca28 (patch) | |
tree | 96cfe9d2ba7b186d049ecf7c8721fff7eab516d4 /kernel/compat.c | |
parent | f87135762de4328c6f17897e803e6909bc056feb (diff) | |
download | kernel_goldelico_gta04-5fa3839a64203b2ab727dcb37da9b2d7079fca28.zip kernel_goldelico_gta04-5fa3839a64203b2ab727dcb37da9b2d7079fca28.tar.gz kernel_goldelico_gta04-5fa3839a64203b2ab727dcb37da9b2d7079fca28.tar.bz2 |
[PATCH] Constify compat_get_bitmap argument
This means we can call it when the bitmap we want to fetch is declared
const.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Christoph Lameter <clameter@engr.sgi.com>
Cc: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/compat.c')
-rw-r--r-- | kernel/compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/compat.c b/kernel/compat.c index 75573e5..d4898aa 100644 --- a/kernel/compat.c +++ b/kernel/compat.c @@ -678,7 +678,7 @@ int get_compat_sigevent(struct sigevent *event, ? -EFAULT : 0; } -long compat_get_bitmap(unsigned long *mask, compat_ulong_t __user *umask, +long compat_get_bitmap(unsigned long *mask, const compat_ulong_t __user *umask, unsigned long bitmap_size) { int i, j; |