diff options
author | Roland McGrath <roland@redhat.com> | 2007-12-20 03:58:00 -0800 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-02-07 20:40:16 +1100 |
commit | 80fdf4709497a276a826c9d8426ef1effc8f8e33 (patch) | |
tree | b78b6a95c3ee7b70f03abb22ce8432e6a0c6c2e0 /arch/powerpc/kernel/Makefile | |
parent | 44dd3f50d3848e332b49e83a142b39b960ec962e (diff) |
[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/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile index 58dbfeff9b4..ac07112b65d 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 |