[parisc-linux] a small hunk to cleanup 2 build warning?

Joel Soete soete.joel at tiscali.be
Fri Mar 24 07:41:07 MST 2006


Hi pa*,

those 2 warning crossed my look during the build of n4k (64bit) smp kernel (in
a loop to stress it a bit):
  CC      kernel/compat.o
/usr/src/linux-2.6.16-pa4/kernel/compat.c: In function 'compat_sys_timer_create':
/usr/src/linux-2.6.16-pa4/kernel/compat.c:531: warning: implicit declaration
of function 'get_compat_sigevent'
[...]
  CC      ipc/compat_mq.o
/usr/src/linux-2.6.16-pa4/ipc/compat_mq.c: In function 'compat_sys_mq_notify':
/usr/src/linux-2.6.16-pa4/ipc/compat_mq.c:113: warning: implicit declaration
of function 'get_compat_sigevent'
[...]

imho this simple hunk could be helpfull:
--- ./include/linux/compat_siginfo.h.Orig       2006-03-24 14:04:10.000000000
+0100
+++ ./include/linux/compat_siginfo.h    2006-03-24 14:24:49.000000000 +0100
@@ -171,6 +171,9 @@
 
 #endif /* !HAVE_ARCH_COMPAT_COPY_SIGINFO */
 
+extern int get_compat_sigevent(struct sigevent *event,
+                       const struct compat_sigevent __user *u_event);
+
 extern int compat_copy_siginfo_to_user(compat_siginfo_t __user *to, struct
siginfo *from);
 extern int compat_copy_siginfo_from_user(struct siginfo *to, compat_siginfo_t
__user *from);
 
====<>====

If Ok can you ci?

TIA,
    Joel

-------------------------------------------------------
NOTE! My email address is changing to ... @scarlet.be
Please make the necessary changes in your address book. 






More information about the parisc-linux mailing list