[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#401818: linux-kernel-headers: Please update debian/patches/m32r-removed-unknown-isa.patch



Package: linux-kernel-headers
Version: 2.6.18-6
Severity: wishlist
Tags: patch

Hi,

The following patch must be still changed.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=394055

Please update debian/patches/m32r-removed-unknown-isa.patch.


Regards,
Kazuhiro Inaoka
--- include/asm-m32r/ptrace.h.org	2006-12-06 12:18:29.836082160 +0900
+++ include/asm-m32r/ptrace.h	2006-12-06 12:25:29.645258288 +0900
@@ -12,8 +12,6 @@
  *   Copyright (C) 2001-2002, 2004  Hirokazu Takata <takata at linux-m32r.org>
  */
 
-#include <asm/m32r.h>		/* M32R_PSW_BSM, M32R_PSW_BPM */
-
 /* 0 - 13 are integer registers (general purpose registers).  */
 #define PT_R4		0
 #define PT_R5		1
@@ -47,8 +45,6 @@
 #define PT_ACCL		16
 #define PT_DUMMY_ACC1H	17
 #define PT_DUMMY_ACC1L	18
-#else
-#error unknown isa conifiguration
 #endif
 #define PT_PSW		19
 #define PT_BPC		20
@@ -115,8 +111,6 @@
 	unsigned long accl;
 	unsigned long dummy_acc1h;
 	unsigned long dummy_acc1l;
-#else
-#error unknown isa configuration
 #endif
 	unsigned long psw;
 	unsigned long bpc;		/* saved PC for TRAP syscalls */
@@ -140,6 +134,8 @@
 
 #ifdef __KERNEL__
 
+#include <asm/m32r.h>		/* M32R_PSW_BSM, M32R_PSW_BPM */
+
 #define __ARCH_SYS_PTRACE	1
 
 #if defined(CONFIG_ISA_M32R2) || defined(CONFIG_CHIP_VDEC2)
--- include/asm-m32r/sigcontext.h.org	2006-10-19 21:48:40.000000000 +0900
+++ include/asm-m32r/sigcontext.h	2006-10-19 21:48:54.000000000 +0900
@@ -33,8 +33,6 @@ struct sigcontext {
 	unsigned long sc_accl;
 	unsigned long sc_dummy_acc1h;
 	unsigned long sc_dummy_acc1l;
-#else
-#error unknown isa configuration
 #endif
 	unsigned long sc_psw;
 	unsigned long sc_bpc;		/* saved PC for TRAP syscalls */

Reply to: