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

Bug#266115: linux-kernel-headers: Missing include/asm/reg.h on mips/mipsel



Package: linux-kernel-headers
Version: 2.5.999-test7-bk-17
Severity: important
Tags: patch

Hello All,

linux-kernel-headers lacks include/asm/reg.h on mips, which is included
from include/asm/user.h. The definitions of EF_SIZE in reg.h is used
there, this 

This is at least a Problem for uclibc.
The appended patch supplies a correct reg.h.


Thiemo

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: mips
Kernel: Linux 2.4.26-sb1-swarm-bn
Locale: LANG=C, LC_CTYPE=de_DE@euro

-- no debconf information


--- include/asm-mips/reg.h.old	1970-01-01 01:00:00.000000000 +0100
+++ include/asm-mips/reg.h	2004-08-16 19:41:33.000000000 +0200
@@ -0,0 +1,54 @@
+#ifndef _ASM_REG_H
+#define _ASM_REG_H
+/*
+ * DO NOT MODIFY.
+ *
+ * This file was generated by arch/mips/Makefile
+ *
+ */
+
+/* MIPS pt_regs indices. */
+#define EF_R0     6
+#define EF_R1     7
+#define EF_R2     8
+#define EF_R3     9
+#define EF_R4     10
+#define EF_R5     11
+#define EF_R6     12
+#define EF_R7     13
+#define EF_R8     14
+#define EF_R9     15
+#define EF_R10    16
+#define EF_R11    17
+#define EF_R12    18
+#define EF_R13    19
+#define EF_R14    20
+#define EF_R15    21
+#define EF_R16    22
+#define EF_R17    23
+#define EF_R18    24
+#define EF_R19    25
+#define EF_R20    26
+#define EF_R21    27
+#define EF_R22    28
+#define EF_R23    29
+#define EF_R24    30
+#define EF_R25    31
+#define EF_R26    32
+#define EF_R27    33
+#define EF_R28    34
+#define EF_R29    35
+#define EF_R30    36
+#define EF_R31    37
+
+#define EF_LO     39
+#define EF_HI     40
+
+#define EF_EPC    43
+#define EF_BVADDR 41
+#define EF_STATUS 38
+#define EF_CAUSE  42
+
+#define EF_SIZE   176
+
+#endif /* _ASM_REG_H */



Reply to: