Package: linux-kernel-headers Version: 2.6.13+0rc3-1.1 Severity: wishlist Tags: patch
We're porting Debian to M32R architecure (http://debian.linux-m32r.org/). Could you please include M32R support? Here is a patch for the m32r architecture. Thank you. --- asm-types-long-long.patch | 16 ++++++++++++++++ linux-types-long-long.patch | 12 ++++++++++++ 2 files changed, 28 insertions(+) diff -ruNp patches.org/asm-types-long-long.patch patches/asm-types-long-long.patch --- patches.org/asm-types-long-long.patch 2005-08-24 19:24:33.000000000 +0900 +++ patches/asm-types-long-long.patch 2005-09-07 13:35:18.000000000 +0900 @@ -30,6 +30,22 @@ diff -Nuar include.org/asm-i386/types.h #endif #endif /* __ASSEMBLY__ */ +diff -Nuar include.org/asm-m32r/types.h include/asm-m32r/types.h +--- include.org/asm-m32r/types.h 2005-07-13 13:46:46.000000000 +0900 ++++ include/asm-m32r/types.h 2005-09-07 13:30:25.000000000 +0900 +@@ -23,9 +23,9 @@ + typedef __signed__ int __s32; + typedef unsigned int __u32; + +-#if defined(__GNUC__) && !defined(__STRICT_ANSI__) +-typedef __signed__ long long __s64; +-typedef unsigned long long __u64; ++#if defined(__GNUC__) ++__extension__ typedef __signed__ long long __s64; ++__extension__ typedef unsigned long long __u64; + #endif + #endif /* __ASSEMBLY__ */ + diff -Nuar include.org/asm-m68k/types.h include/asm-m68k/types.h --- include.org/asm-m68k/types.h 2003-10-16 00:09:42.000000000 +0900 +++ include/asm-m68k/types.h 2004-07-31 23:00:13.000000000 +0900 diff -ruNp patches.org/linux-types-long-long.patch patches/linux-types-long-long.patch --- patches.org/linux-types-long-long.patch 2005-08-24 19:24:33.000000000 +0900 +++ patches/linux-types-long-long.patch 2005-09-07 13:37:58.000000000 +0900 @@ -85,6 +85,18 @@ diff -Nurp include.orig/asm-ia64/posix_t typedef int __kernel_pid_t; typedef int __kernel_ipc_pid_t; typedef unsigned int __kernel_uid_t; +diff -Nurp include.orig/asm-m32r/posix_types.h include/asm-m32r/posix_types.h +--- include.orig/asm-m32r/posix_types.h 2005-07-13 13:46:46.000000000 +0900 ++++ include/asm-m32r/posix_types.h 2005-09-07 13:24:21.000000000 +0900 +@@ -39,7 +39,7 @@ typedef unsigned short __kernel_old_gid_ + typedef unsigned short __kernel_old_dev_t; + + #ifdef __GNUC__ +-typedef long long __kernel_loff_t; ++__extension__ typedef long long __kernel_loff_t; + #endif + + typedef struct { diff -Nurp include.orig/asm-m68k/posix_types.h include/asm-m68k/posix_types.h --- include.orig/asm-m68k/posix_types.h 2003-10-15 11:10:27.000000000 -0400 +++ include/asm-m68k/posix_types.h 2003-11-23 16:08:42.000000000 -0500 -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable') Architecture: m32r Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.13 -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]