]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/compat.c
[PATCH] fill_tgid: cleanup delays accounting
[linux-2.6-omap-h63xx.git] / kernel / compat.c
index b4fbd838cd775ac9007af6e7d566652e1ad629de..d4898aad6cfa72ff46d78a8728c5d005531a338a 100644 (file)
@@ -26,8 +26,6 @@
 
 #include <asm/uaccess.h>
 
-extern void sigset_from_compat(sigset_t *set, compat_sigset_t *compat);
-
 int get_compat_timespec(struct timespec *ts, const struct compat_timespec __user *cts)
 {
        return (!access_ok(VERIFY_READ, cts, sizeof(*cts)) ||
@@ -680,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;