📄 1035.gcc41x.patch
字号:
__pu_err; \ }) -#define __put_user_asm(insn, __pu_val) \-({ \+#define __put_user_asm(insn, ptr) \+{ \ __asm__ __volatile__( \ "1: " insn " %z2, %3 # __put_user_asm\n" \ "2: \n" \@@ -379,18 +377,18 @@ " " __UA_ADDR " 1b, 3b \n" \ " .previous \n" \ : "=r" (__pu_err) \- : "0" (__pu_err), "Jr" (__pu_val), "o" (__m(__pu_addr)), \+ : "0" (0), "Jr" (__pu_val), "o" (__m(ptr)), \ "i" (-EFAULT)); \-})+} -#define __put_user_asm_ll32(__pu_val) \-({ \+#define __put_user_asm_ll32(ptr) \+{ \ __asm__ __volatile__( \- "1: sw %2, %3 # __put_user_asm_ll32 \n" \- "2: sw %D2, %4 \n" \+ "1: sw %2, (%3) # __put_user_asm_ll32 \n" \+ "2: sw %D2, 4(%3) \n" \ "3: \n" \ " .section .fixup,\"ax\" \n" \- "4: li %0, %5 \n" \+ "4: li %0, %4 \n" \ " j 3b \n" \ " .previous \n" \ " .section __ex_table,\"a\" \n" \@@ -398,9 +396,9 @@ " " __UA_ADDR " 2b, 4b \n" \ " .previous" \ : "=r" (__pu_err) \- : "0" (__pu_err), "r" (__pu_val), "o" (__m(__pu_addr)), \- "o" (__m(__pu_addr + 4)), "i" (-EFAULT)); \-})+ : "0" (0), "r" (__pu_val), "r" (ptr), \+ "i" (-EFAULT)); \+} extern void __put_user_unknown(void); diff -Naur --exclude=CVS --exclude='*.o' --exclude='*.a' --exclude='*.so' --exclude='*.elf' --exclude=System.map --exclude=Makefile.d --exclude='*log' --exclude='*log2' --exclude='*~' --exclude='.*~' --exclude='.#*' --exclude='*.bak' --exclude='*.orig' --exclude='*.rej' --exclude='core.[0-9]*' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=vmlinux --exclude=vmlinux.bin --exclude=yamon-02.06-SIGMADESIGNS-01_el.bin linuxmips-2.4.30.ref/include/linux/fs.h linuxmips-2.4.30/include/linux/fs.h--- linuxmips-2.4.30.ref/include/linux/fs.h 2007-05-11 16:37:45.000000000 -0700+++ linuxmips-2.4.30/include/linux/fs.h 2007-05-16 11:17:08.000000000 -0700@@ -514,7 +514,9 @@ struct reiserfs_inode_info reiserfs_i; struct bfs_inode_info bfs_i; struct udf_inode_info udf_i;+#if defined(CONFIG_NCP_FS_MODULE) || defined(CONFIG_NCP_FS) struct ncp_inode_info ncpfs_i;+#endif /* CONFIG_NCP_FS_MODULE || CONFIG_NCP_FS */ struct proc_inode_info proc_i; struct socket socket_i; struct usbdev_inode_info usbdev_i;@@ -789,7 +791,9 @@ struct reiserfs_sb_info reiserfs_sb; struct bfs_sb_info bfs_sb; struct udf_sb_info udf_sb;+#if defined(CONFIG_NCP_FS_MODULE) || defined(CONFIG_NCP_FS) struct ncp_sb_info ncpfs_sb;+#endif /* CONFIG_NCP_FS_MODULE || CONFIG_NCP_FS */ struct usbdev_sb_info usbdevfs_sb; struct jffs2_sb_info jffs2_sb; struct cramfs_sb_info cramfs_sb;diff -Naur --exclude=CVS --exclude='*.o' --exclude='*.a' --exclude='*.so' --exclude='*.elf' --exclude=System.map --exclude=Makefile.d --exclude='*log' --exclude='*log2' --exclude='*~' --exclude='.*~' --exclude='.#*' --exclude='*.bak' --exclude='*.orig' --exclude='*.rej' --exclude='core.[0-9]*' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=vmlinux --exclude=vmlinux.bin --exclude=yamon-02.06-SIGMADESIGNS-01_el.bin linuxmips-2.4.30.ref/include/linux/ncp_fs.h linuxmips-2.4.30/include/linux/ncp_fs.h--- linuxmips-2.4.30.ref/include/linux/ncp_fs.h 2001-03-09 12:34:57.000000000 -0800+++ linuxmips-2.4.30/include/linux/ncp_fs.h 2007-05-16 11:11:43.000000000 -0700@@ -8,6 +8,8 @@ #ifndef _LINUX_NCP_FS_H #define _LINUX_NCP_FS_H +#if defined(CONFIG_NCP_FS_MODULE) || defined(CONFIG_NCP_FS)+ #include <linux/fs.h> #include <linux/in.h> #include <linux/types.h>@@ -291,4 +293,7 @@ #endif /* __KERNEL__ */ +#endif /* CONFIG_NCP_FS_MODULE || CONFIG_NCP_FS */+ #endif /* _LINUX_NCP_FS_H */+diff -Naur --exclude=CVS --exclude='*.o' --exclude='*.a' --exclude='*.so' --exclude='*.elf' --exclude=System.map --exclude=Makefile.d --exclude='*log' --exclude='*log2' --exclude='*~' --exclude='.*~' --exclude='.#*' --exclude='*.bak' --exclude='*.orig' --exclude='*.rej' --exclude='core.[0-9]*' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=vmlinux --exclude=vmlinux.bin --exclude=yamon-02.06-SIGMADESIGNS-01_el.bin linuxmips-2.4.30.ref/include/linux/ncp_fs_i.h linuxmips-2.4.30/include/linux/ncp_fs_i.h--- linuxmips-2.4.30.ref/include/linux/ncp_fs_i.h 2000-07-03 14:46:09.000000000 -0700+++ linuxmips-2.4.30/include/linux/ncp_fs_i.h 2007-05-16 11:14:40.000000000 -0700@@ -8,6 +8,8 @@ #ifndef _LINUX_NCP_FS_I #define _LINUX_NCP_FS_I +#if defined(CONFIG_NCP_FS_MODULE) || defined(CONFIG_NCP_FS)+ #ifdef __KERNEL__ /*@@ -29,4 +31,6 @@ #endif /* __KERNEL__ */ +#endif /* CONFIG_NCP_FS_MODULE || CONFIG_NCP_FS */+ #endif /* _LINUX_NCP_FS_I */diff -Naur --exclude=CVS --exclude='*.o' --exclude='*.a' --exclude='*.so' --exclude='*.elf' --exclude=System.map --exclude=Makefile.d --exclude='*log' --exclude='*log2' --exclude='*~' --exclude='.*~' --exclude='.#*' --exclude='*.bak' --exclude='*.orig' --exclude='*.rej' --exclude='core.[0-9]*' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=vmlinux --exclude=vmlinux.bin --exclude=yamon-02.06-SIGMADESIGNS-01_el.bin linuxmips-2.4.30.ref/include/linux/ncp_fs_sb.h linuxmips-2.4.30/include/linux/ncp_fs_sb.h--- linuxmips-2.4.30.ref/include/linux/ncp_fs_sb.h 2000-07-07 17:53:08.000000000 -0700+++ linuxmips-2.4.30/include/linux/ncp_fs_sb.h 2007-05-16 11:15:07.000000000 -0700@@ -8,6 +8,8 @@ #ifndef _NCP_FS_SB #define _NCP_FS_SB +#if defined(CONFIG_NCP_FS_MODULE) || defined(CONFIG_NCP_FS)+ #include <linux/types.h> #include <linux/ncp_mount.h> @@ -101,5 +103,7 @@ #endif /* __KERNEL__ */ +#endif /* CONFIG_NCP_FS_MODULE || CONFIG_NCP_FS */+ #endif diff -Naur --exclude=CVS --exclude='*.o' --exclude='*.a' --exclude='*.so' --exclude='*.elf' --exclude=System.map --exclude=Makefile.d --exclude='*log' --exclude='*log2' --exclude='*~' --exclude='.*~' --exclude='.#*' --exclude='*.bak' --exclude='*.orig' --exclude='*.rej' --exclude='core.[0-9]*' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=vmlinux --exclude=vmlinux.bin --exclude=yamon-02.06-SIGMADESIGNS-01_el.bin linuxmips-2.4.30.ref/include/linux/ncp.h linuxmips-2.4.30/include/linux/ncp.h--- linuxmips-2.4.30.ref/include/linux/ncp.h 2003-08-13 10:19:29.000000000 -0700+++ linuxmips-2.4.30/include/linux/ncp.h 2007-05-16 11:13:35.000000000 -0700@@ -10,6 +10,8 @@ #ifndef _LINUX_NCP_H #define _LINUX_NCP_H +#if defined(CONFIG_NCP_FS_MODULE) || defined(CONFIG_NCP_FS)+ #include <linux/types.h> #define NCP_PTYPE (0x11)@@ -176,4 +178,6 @@ __u32 sequence __attribute__((packed)); }; +#endif /* CONFIG_NCP_FS_MODULE || CONFIG_NCP_FS */+ #endif /* _LINUX_NCP_H */diff -Naur --exclude=CVS --exclude='*.o' --exclude='*.a' --exclude='*.so' --exclude='*.elf' --exclude=System.map --exclude=Makefile.d --exclude='*log' --exclude='*log2' --exclude='*~' --exclude='.*~' --exclude='.#*' --exclude='*.bak' --exclude='*.orig' --exclude='*.rej' --exclude='core.[0-9]*' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=vmlinux --exclude=vmlinux.bin --exclude=yamon-02.06-SIGMADESIGNS-01_el.bin linuxmips-2.4.30.ref/include/linux/ncp_mount.h linuxmips-2.4.30/include/linux/ncp_mount.h--- linuxmips-2.4.30.ref/include/linux/ncp_mount.h 2000-02-15 17:07:58.000000000 -0800+++ linuxmips-2.4.30/include/linux/ncp_mount.h 2007-05-16 11:15:38.000000000 -0700@@ -8,6 +8,8 @@ #ifndef _LINUX_NCP_MOUNT_H #define _LINUX_NCP_MOUNT_H +#if defined(CONFIG_NCP_FS_MODULE) || defined(CONFIG_NCP_FS)+ #include <linux/types.h> #include <linux/ncp.h> @@ -86,4 +88,6 @@ #endif /* __KERNEL__ */ +#endif /* CONFIG_NCP_FS_MODULE || CONFIG_NCP_FS */+ #endifdiff -Naur --exclude=CVS --exclude='*.o' --exclude='*.a' --exclude='*.so' --exclude='*.elf' --exclude=System.map --exclude=Makefile.d --exclude='*log' --exclude='*log2' --exclude='*~' --exclude='.*~' --exclude='.#*' --exclude='*.bak' --exclude='*.orig' --exclude='*.rej' --exclude='core.[0-9]*' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=vmlinux --exclude=vmlinux.bin --exclude=yamon-02.06-SIGMADESIGNS-01_el.bin linuxmips-2.4.30.ref/Makefile linuxmips-2.4.30/Makefile--- linuxmips-2.4.30.ref/Makefile 2007-05-11 16:37:46.000000000 -0700+++ linuxmips-2.4.30/Makefile 2007-05-15 17:30:54.000000000 -0700@@ -116,7 +116,7 @@ CPPFLAGS := -D__KERNEL__ -I$(HPATH) CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes -Wno-trigraphs -O2 \- -fno-strict-aliasing -fno-common+ -fno-strict-aliasing -fno-common -ffreestanding ifndef CONFIG_FRAME_POINTER CFLAGS += -fomit-frame-pointer endifdiff -Naur --exclude=CVS --exclude='*.o' --exclude='*.a' --exclude='*.so' --exclude='*.elf' --exclude=System.map --exclude=Makefile.d --exclude='*log' --exclude='*log2' --exclude='*~' --exclude='.*~' --exclude='.#*' --exclude='*.bak' --exclude='*.orig' --exclude='*.rej' --exclude='core.[0-9]*' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=vmlinux --exclude=vmlinux.bin --exclude=yamon-02.06-SIGMADESIGNS-01_el.bin linuxmips-2.4.30.ref/README.1035.gcc41x.patch linuxmips-2.4.30/README.1035.gcc41x.patch--- linuxmips-2.4.30.ref/README.1035.gcc41x.patch 1969-12-31 16:00:00.000000000 -0800+++ linuxmips-2.4.30/README.1035.gcc41x.patch 2007-05-16 11:23:31.000000000 -0700@@ -0,0 +1,19 @@+Feature:+--------+To support GCC 4.1.x or above.++Prerequisite patch numbers:+---------------------------+1016+1032++Primary author:+---------------+YH Lin++Related to which chip version SMP86xx xx=?+-----------------------------------------+all++(linux patches) which CONFIG_... are provided:+----------------------------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -