openrisc: header file cleanups
authorJonas Bonn <jonas@southpole.se>
Tue, 10 Apr 2012 08:49:13 +0000 (10:49 +0200)
committerJonas Bonn <jonas@southpole.se>
Tue, 8 May 2012 09:43:30 +0000 (11:43 +0200)
commitb0e026f4dc118752382fa926431b4512a8042e09
tree6d2d91a655e9da94dc96c19342ca87421676f9df
parent4971f2bdb746e6cc8423ea60f99694884f6052c5
openrisc: header file cleanups

elf.h: We can export some of these symbols to userspace.  libc needs them
and we just as well provide them as asm/elf.h as copying them into separate
libc headers.

ptrace.h: Having padding in the user_regs_struct isn't of any particular
value and just confuses GDB.  spr_defs isn't needed in userspace; libc
has its own copy anyway.

Signed-off-by: Jonas Bonn <jonas@southpole.se>
arch/openrisc/include/asm/Kbuild
arch/openrisc/include/asm/elf.h
arch/openrisc/include/asm/ptrace.h