aboutsummaryrefslogtreecommitdiff
path: root/arch/arc/kernel/Makefile
diff options
context:
space:
mode:
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 c9ec0662a4e..f4885891dab 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