summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/Makefile
diff options
context:
space:
mode:
authorRoland McGrath2007-12-20 12:58:00 +0100
committerPaul Mackerras2008-02-07 10:40:16 +0100
commit80fdf4709497a276a826c9d8426ef1effc8f8e33 (patch)
treeb78b6a95c3ee7b70f03abb22ce8432e6a0c6c2e0 /arch/powerpc/kernel/Makefile
parent[POWERPC] Use user_regset accessors for GPRs (diff)
downloadkernel-qcow2-linux-80fdf4709497a276a826c9d8426ef1effc8f8e33.tar.gz
kernel-qcow2-linux-80fdf4709497a276a826c9d8426ef1effc8f8e33.tar.xz
kernel-qcow2-linux-80fdf4709497a276a826c9d8426ef1effc8f8e33.zip
[POWERPC] Add user_regset_view definitions
This provides the task_user_regset_view entry point and support for all the native-mode (64 on CONFIG_PPC64, 32 on CONFIG_PPC32) thread register state. This will enable generic machine-independent code to access user-mode threads' registers for debugging and dumping. Signed-off-by: Roland McGrath <roland@redhat.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/Makefile')
-rw-r--r--arch/powerpc/kernel/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile
index 58dbfeff9b4d..ac07112b65de 100644
--- a/arch/powerpc/kernel/Makefile
+++ b/arch/powerpc/kernel/Makefile
@@ -2,6 +2,8 @@
# Makefile for the linux kernel.
#
+CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"'
+
ifeq ($(CONFIG_PPC64),y)
CFLAGS_prom_init.o += -mno-minimal-toc
endif