On mercoledì 22 agosto 2007, Jeff Dike wrote:
> On Tue, Aug 21, 2007 at 07:05:53PM +0200, Blaisorblade wrote:
> > It's not the first time we hit effects of such bugs, is it?
>
> I don't remember seeing this before.
>
> > The .note.ABI-tag fix, time ago, may be about the same problem.
>
> Are you re
On sabato 18 agosto 2007, Satyam Sharma wrote:
> On Fri, 17 Aug 2007, Jeff Dike wrote:
> > Style fixes in hostfs.
> > @@ -328,17 +326,17 @@ int hostfs_readdir(struct file *file, vo
> > [...]
> > - if(error) break;
> > + if (error) break;
>
> if (error)
>
Handle floating point state better in ptrace. The code now correctly
distinguishes between PTRACE_[GS]ETFPREGS and PTRACE_[GS]ETFPXREGS.
The FPX requests get handed off to arch-specific code because that's
not generic.
get_fpregs, set_fpregs, set_fpregs, and set_fpxregs needed real
implementation
Handle floating point state in across signals correctly. UML/i386
needs to know whether the host does PTRACE_[GS]ETFPXREGS, so an
arch_init_registers hook is added, which on x86_64 does nothing.
UML doesn't save and restore floating point registers on kernel entry
and exit, so they need to be cop
The floating point fields in the pt_regs register file aren't used, so
they are deleted.
Signed-off-by: Jeff Dike <[EMAIL PROTECTED]>
--
arch/um/include/sysdep-i386/ptrace.h |2 --
arch/um/include/sysdep-x86_64/ptrace.h |1 -
2 files changed, 3 deletions(-)
Index: linux-2.6.22/arch/um/
Fix core dumping of floating point state. ELF_CORE_COPY_FPREGS gets a
definitions, and as a result, dump_fpu no longer needs to exist. Also,
elf_fpregset_t needed a real definition.
Signed-off-by: Jeff Dike <[EMAIL PROTECTED]>
--
arch/um/sys-i386/ptrace.c | 22 --
includ
These are for 2.6.24.
They are all fixes and cleanups -
signal handling, ptrace, and core dump floating point fixes
mconsole and sysrq fixes
build fixes
code cleanup
Jeff
--
Work email - jdike at linux dot intel dot com
---
Tidy the code affected by the floating point fixes.
A bunch of unused stuff is gone, including two sigcontext.c files,
which turned out to be entirely unneeded.
There are the usual fixes -
whitespace and style cleanups
copyright updates
emacs formatting comments gone
Fix the passing of printk output back to the mconsole client. The
existing code was somewhat confused, accumulating output in a buffer,
but writing it out entirely whenever a new chunk was added. This is
fixed.
The earlier include cleanups caused linux/sysrq.h to not be included -
this is fixed
Stop including asm/user.h from libc - it seems to be disappearing from
distros. It's replaced with sys/user.h which defines
user_fpregs_struct and user_fpxregs_struct instead of user_i387_struct
and struct user_fxsr_struct on i386.
As a bonus, on x86_64, I get to dump some stupid typedefs which w
On Fri, Aug 24, 2007 at 01:43:49AM +0200, Jesper Juhl wrote:
> vmalloc() returns a void pointer, so casting to (void *) is pretty pointless.
Righto, I'll take care of this.
Jeff
--
Work email - jdike at linux dot intel dot com
---
vmalloc() returns a void pointer, so casting to (void *) is pretty pointless.
Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]>
---
arch/um/drivers/ubd_kern.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/um/drivers/ubd_kern.c b/arch/um/drivers/ubd_kern.c
index 0eabe
12 matches
Mail list logo