From: Masahiro A. <m-...@aa...> - 2001-05-03 07:52:56
|
Hi, I have 3 small change requests to linux-sh kernel. I don't know if those are already in CVS, but if not, can someone take care of those (only if those are OK)? -processor.h and user.h changes are for making them consistent with sigcontext.h. Definition of fpu bank1 register is changed from "long long" to "long" in sigcontext.h, so that those two files are changed similarly. Actually, it seems those fields are not accessed at all. But I thought those should match sigcontext.h so as not to make confusion. -segment.h is added(copied from alpha), as it is needed by some drivers. I made those changes to stock 2.4.4 kernel, along with Sugioka-san's semaphore-patch and rtc-patch (posted to this list). Compiled and booted on SolutionEngine 7750S. I put patch files (including changes in this mail) to our server below. <ftp://ftp.aandd.co.jp/pub/linuxsh/20010503/> Most of those changes are by Sugioka-san. Many many thanks to him. (I may update my instruction/patches next week.) -----[request for changes BEGIN]----- diff -ruN linux-2.4.4.orig/include/asm-sh/processor.h linux-2.4.4-sh.orig/include/asm-sh/processor.h --- linux-2.4.4.orig/include/asm-sh/processor.h Thu May 3 13:53:37 2001 +++ linux-2.4.4-sh.orig/include/asm-sh/processor.h Thu May 3 16:11:08 2001 @@ -76,7 +76,7 @@ struct sh_fpu_hard_struct { unsigned long fp_regs[16]; - unsigned long long xd_regs[8]; + unsigned long xfp_regs[16]; unsigned long fpscr; unsigned long fpul; @@ -86,7 +86,7 @@ /* Dummy fpu emulator */ struct sh_fpu_soft_struct { unsigned long fp_regs[16]; - unsigned long long xd_regs[8]; + unsigned long xfp_regs[16]; unsigned long fpscr; unsigned long fpul; diff -ruN linux-2.4.4.orig/include/asm-sh/segment.h linux-2.4.4-sh.orig/include/asm-sh/segment.h --- linux-2.4.4.orig/include/asm-sh/segment.h Thu Jan 1 09:00:00 1970 +++ linux-2.4.4-sh.orig/include/asm-sh/segment.h Fri Apr 27 10:15:18 2001 @@ -0,0 +1,6 @@ +#ifndef __SH_SEGMENT_H +#define __SH_SEGMENT_H + +/* Only here because we have some old header files that expect it.. */ + +#endif diff -ruN linux-2.4.4.orig/include/asm-sh/user.h linux-2.4.4-sh.orig/include/asm-sh/user.h --- linux-2.4.4.orig/include/asm-sh/user.h Tue Mar 28 03:26:15 2000 +++ linux-2.4.4-sh.orig/include/asm-sh/user.h Thu May 3 15:12:10 2001 @@ -31,7 +31,7 @@ struct user_fpu_struct { unsigned long fp_regs[16]; - unsigned long long xd_regs[8]; + unsigned long xfp_regs[16]; unsigned long fpscr; unsigned long fpul; }; -----[request for changes END]----- +-------------------------------------+ | Masahiro Abe, Software Engineer | | A&D Co., Ltd. of Tokyo, Japan | | mailto:m-...@aa... | +-------------------------------------+ |This is my opinion, not my employer's| +-------------------------------------+ |