summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/Kbuild
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2009-01-02 19:42:12 -0800
committerDavid S. Miller <davem@davemloft.net>2009-01-02 19:42:12 -0800
commitf3ec38d5135ca4bff0132c0782da6da4663ae0e5 (patch)
tree161e5ada9a54c24150331d51552b4c280fd73e5c /arch/sparc/include/asm/Kbuild
parentbd703d88a2dbeb6c7945345de427eedf78ef89c6 (diff)
downloadop-kernel-dev-f3ec38d5135ca4bff0132c0782da6da4663ae0e5.zip
op-kernel-dev-f3ec38d5135ca4bff0132c0782da6da4663ae0e5.tar.gz
sparc: unify ptrace.h
The two ptrace.h implementations are very alike but the small differences required two set of ifdef/else/endif pairs. The definition of reg_window32 could have been shared but that would have required several updates in sparc32 code as all printk formatting for example assume it is longs. sparc_stackf looked like anohter candidate to share if the 32 bit was renamed to sparc_stackf32. But it contains two pointers in the sparc32 version which would have been 64 bit in the sparc64 version so it was non-trivial. Using a set of accessor macros could do the trick if pursued later. The sparc64 specific definitions are not protected by ifdef - as it should not be required to do so. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include/asm/Kbuild')
-rw-r--r--arch/sparc/include/asm/Kbuild2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sparc/include/asm/Kbuild b/arch/sparc/include/asm/Kbuild
index b0a3814..f79249fac 100644
--- a/arch/sparc/include/asm/Kbuild
+++ b/arch/sparc/include/asm/Kbuild
@@ -3,8 +3,6 @@ include include/asm-generic/Kbuild.asm
header-y += ipcbuf_32.h
header-y += ipcbuf_64.h
-header-y += ptrace_32.h
-header-y += ptrace_64.h
header-y += siginfo_32.h
header-y += siginfo_64.h
OpenPOWER on IntegriCloud