Package: linux-kernel-headers
Version: 2.6.18-1
Severity: important
Tags: patch

Hi,

The current kernel header break a few packages on m68k, e.g. binutils
trips over the NBPG define, others like qt4-x11 need more system call
defines. I included patches for these. The user.h change is already in
Linus tree, the unistd.h change is currently only in the m68k.h tree,
but should go upstream soon as well.
Please include the patches into the next release. Thanks.

bye, Roman

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: m68k
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.4.30
Locale: LANG=de_DE.UTF-8, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

-- no debconf information
--- include/asm-m68k/unistd.h	2006-09-20 05:42:06.000000000 +0200
+++ include/asm-m68k/unistd.h	2006-10-09 12:22:05.000000000 +0200
@@ -284,10 +284,39 @@
 #define __NR_add_key		279
 #define __NR_request_key	280
 #define __NR_keyctl		281
+#define __NR_ioprio_set		282
+#define __NR_ioprio_get		283
+#define __NR_inotify_init	284
+#define __NR_inotify_add_watch	285
+#define __NR_inotify_rm_watch	286
+#define __NR_migrate_pages	287
+#define __NR_openat		288
+#define __NR_mkdirat		289
+#define __NR_mknodat		290
+#define __NR_fchownat		291
+#define __NR_futimesat		292
+#define __NR_fstatat64		293
+#define __NR_unlinkat		294
+#define __NR_renameat		295
+#define __NR_linkat		296
+#define __NR_symlinkat		297
+#define __NR_readlinkat		298
+#define __NR_fchmodat		299
+#define __NR_faccessat		300
+#define __NR_pselect6		301
+#define __NR_ppoll		302
+#define __NR_unshare		303
+#define __NR_set_robust_list	304
+#define __NR_get_robust_list	305
+#define __NR_splice		306
+#define __NR_sync_file_range	307
+#define __NR_tee		308
+#define __NR_vmsplice		309
+#define __NR_move_pages		310
 
 #ifdef __KERNEL__
 
-#define NR_syscalls		282
+#define NR_syscalls		311
 
 /* user-visible error numbers are in the range -1 - -124: see
    <asm-m68k/errno.h> */
--- include/asm-m68k/user.h	2006-09-20 05:42:06.000000000 +0200
+++ include/asm-m68k/user.h	2006-10-09 12:25:02.000000000 +0200
@@ -81,7 +81,7 @@
   unsigned long magic;		/* To uniquely identify a core file */
   char u_comm[32];		/* User command that was responsible */
 };
-#define NBPG PAGE_SIZE
+#define NBPG 4096
 #define UPAGES 1
 #define HOST_TEXT_START_ADDR (u.start_code)
 #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG)

Reply via email to