r916 - in linux-kernel-headers/branches/lkh-branch-2.6.12/debian: . patches
Author: gotom
Date: 2005-06-03 00:41:18 +0000 (Fri, 03 Jun 2005)
New Revision: 916
Added:
linux-kernel-headers/branches/lkh-branch-2.6.12/debian/patches/asm-parisc-unistd.patch
Modified:
linux-kernel-headers/branches/lkh-branch-2.6.12/debian/changelog
Log:
- debian/patches/asm-parisc-unistd.patch: Add to make the macro -std=c99
friendly for asm-parisc/unistd.h. It's already fixed in the latest
cvs.parisc-linux.org. (Closes: #301073)
Modified: linux-kernel-headers/branches/lkh-branch-2.6.12/debian/changelog
===================================================================
--- linux-kernel-headers/branches/lkh-branch-2.6.12/debian/changelog 2005-06-01 15:14:30 UTC (rev 915)
+++ linux-kernel-headers/branches/lkh-branch-2.6.12/debian/changelog 2005-06-03 00:41:18 UTC (rev 916)
@@ -2,6 +2,10 @@
* GOTO Masanori <gotom@debian.org>
+ - debian/patches/asm-parisc-unistd.patch: Add to make the macro -std=c99
+ friendly for asm-parisc/unistd.h. It's already fixed in the latest
+ cvs.parisc-linux.org. (Closes: #301073)
+
- Bastian Blank <waldi@debian.org>
- debian/rules: Add powerpc64 support. (Closes: #268078)
- debian/generate-asm.sh: Likewise.
Added: linux-kernel-headers/branches/lkh-branch-2.6.12/debian/patches/asm-parisc-unistd.patch
===================================================================
--- linux-kernel-headers/branches/lkh-branch-2.6.12/debian/patches/asm-parisc-unistd.patch 2005-06-01 15:14:30 UTC (rev 915)
+++ linux-kernel-headers/branches/lkh-branch-2.6.12/debian/patches/asm-parisc-unistd.patch 2005-06-03 00:41:18 UTC (rev 916)
@@ -0,0 +1,23 @@
+Make the macro -std=c99 friendly for asm-parisc/unistd.h.
+It's already fixed in the latest cvs.parisc-linux.org.
+
+===================================================================
+RCS file: /var/lib/cvs/linux-2.6/include/asm-parisc/unistd.h,v
+retrieving revision 1.15
+retrieving revision 1.16
+diff -u -r1.15 -r1.16
+--- linux-2.6/include/asm-parisc/unistd.h 2005/03/18 13:17:43 1.15
++++ linux-2.6/include/asm-parisc/unistd.h 2005/03/23 17:13:38 1.16
+@@ -807,10 +807,10 @@
+ #define K_INLINE_SYSCALL(name, nr, args...) ({ \
+ long __sys_res; \
+ { \
+- register unsigned long __res asm("r28"); \
++ register unsigned long __res __asm__("r28"); \
+ K_LOAD_ARGS_##nr(args) \
+ /* FIXME: HACK stw/ldw r19 around syscall */ \
+- asm volatile( \
++ __asm__ volatile( \
+ K_STW_ASM_PIC \
+ " ble 0x100(%%sr2, %%r0)\n" \
+ " ldi %1, %%r20\n" \
Reply to: