mm: fix exec activate_mm vs TLB shootdown and lazy tlb switching race
[linux/fpc-iii.git] / arch / arc / kernel / Makefile
blob2dc5f4296d44afdb43aa20627e498f5364818c95
2 # Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License version 2 as
6 # published by the Free Software Foundation.
8 # Pass UTS_MACHINE for user_regset definition
9 CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"'
11 obj-y := arcksyms.o setup.o irq.o reset.o ptrace.o process.o devtree.o
12 obj-y += signal.o traps.o sys.o troubleshoot.o stacktrace.o disasm.o
13 obj-$(CONFIG_ISA_ARCOMPACT) += entry-compact.o intc-compact.o
14 obj-$(CONFIG_ISA_ARCV2) += entry-arcv2.o intc-arcv2.o
16 obj-$(CONFIG_MODULES) += arcksyms.o module.o
17 obj-$(CONFIG_SMP) += smp.o
18 obj-$(CONFIG_ARC_MCIP) += mcip.o
19 obj-$(CONFIG_ARC_DW2_UNWIND) += unwind.o
20 obj-$(CONFIG_KPROBES) += kprobes.o
21 obj-$(CONFIG_ARC_EMUL_UNALIGNED) += unaligned.o
22 obj-$(CONFIG_KGDB) += kgdb.o
23 obj-$(CONFIG_ARC_METAWARE_HLINK) += arc_hostlink.o
24 obj-$(CONFIG_PERF_EVENTS) += perf_event.o
26 obj-$(CONFIG_ARC_FPU_SAVE_RESTORE) += fpu.o
27 CFLAGS_fpu.o += -mdpfp
29 ifdef CONFIG_ARC_DW2_UNWIND
30 CFLAGS_ctx_sw.o += -fno-omit-frame-pointer
31 obj-y += ctx_sw.o
32 else
33 obj-y += ctx_sw_asm.o
34 endif
36 extra-y := vmlinux.lds head.o