summaryrefslogtreecommitdiff
path: root/arch/arc/kernel/Makefile
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-01-18 15:12:22 +0530
committerVineet Gupta <vgupta@synopsys.com>2013-02-15 23:15:59 +0530
commit547f112571904da03589beb8434185294c77896a (patch)
tree0cf125fec3110091a208c0243173cfd150e332cd /arch/arc/kernel/Makefile
parent080c37473eb671a037b3e9a315303851f0675be5 (diff)
ARC: ptrace support
Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arc/kernel/Makefile')
-rw-r--r--arch/arc/kernel/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arc/kernel/Makefile b/arch/arc/kernel/Makefile
index c9ec0662a4ec..f4885891dabb 100644
--- a/arch/arc/kernel/Makefile
+++ b/arch/arc/kernel/Makefile
@@ -5,6 +5,9 @@
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
+# Pass UTS_MACHINE for user_regset definition
+CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"'
+
obj-y := arcksyms.o setup.o irq.o time.o reset.o ptrace.o entry.o process.o
obj-y += signal.o traps.o sys.o troubleshoot.o stacktrace.o clk.o
obj-y += devtree.o