[SH][PATCH] fix headers for new kernel headers

Ryan Arnold ryan.arnold@gmail.com
Thu Feb 26 15:28:00 GMT 2009


On Thu, Feb 26, 2009 at 5:28 AM, Kaz Kojima <kkojima@rr.iij4u.or.jp> wrote:
> Andrew Stubbs <ams@codesourcery.com> wrote:
>> This patch is a combination of the two patches, with fixes for my problems.
>
> Andrew, Sugioka-san, thanks for your patches and patience.
> The new patch is essentially ok.  I've modified it and its ChangeLog
> entry slightly for the copyright years of user.h and minor formatting
> changes.
>
> Uli, please approve the patch below.
>
> Regards,
>        kaz
> --
> 2009-02-26  Andrew Stubbs  <ams@codesourcery.com>
>            SUGIOKA Toshinobu  <sugioka@itonet.co.jp>
>
>        * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Don't include signal.h,
>        sys/ucontext.h and asm/elf.h.  Include sys/user.h.
>        * sysdeps/unix/sysv/linux/sh/sys/user.h: Don't include features.h
>        and asm/user.h.  Include asm/ptrace.h.
>        (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
>        PTRACE_SETFPREGS, PTRACE_GETFDPIC, PTRACE_GETFDPIC_EXEC,
>        PTRACE_GETFDPIC_INTERP, PTRACE_GETDSPREGS, PTRACE_SETDSPREGS):
>        Undefine.
>        (start_thread): Don't undefine.
>        (elf_greg_t, ELF_NGREG, elf_fpregset_t, user_fpu_struct, user):
>        Define.
>
> diff -uprN ORIG/libc/sysdeps/unix/sysv/linux/sh/sys/procfs.h LOCAL/libc/sysdeps/unix/sysv/linux/sh/sys/procfs.h
> --- ORIG/libc/sysdeps/unix/sysv/linux/sh/sys/procfs.h   2004-11-21 02:56:16.000000000 +0900
> +++ LOCAL/libc/sysdeps/unix/sysv/linux/sh/sys/procfs.h  2009-02-26 19:43:41.000000000 +0900

Kaz, et al,

In order to ease the burden on the maintainer, in the future please
send patches at level -p1 rather than -p2.

Ryan S. Arnold (libc-alpha moderation staff)



More information about the Libc-alpha mailing list