fs/reiserfs/journal.c: change return type of dirty_one_transaction
[linux/fpc-iii.git] / arch / s390 / kernel / Makefile
blob0f255b54b0512a4d996704081a1cda97bf91576e
1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for the linux kernel.
6 ifdef CONFIG_FUNCTION_TRACER
8 # Do not trace tracer code
9 CFLAGS_REMOVE_ftrace.o = $(CC_FLAGS_FTRACE)
11 # Do not trace early setup code
12 CFLAGS_REMOVE_early.o = $(CC_FLAGS_FTRACE)
13 CFLAGS_REMOVE_early_nobss.o = $(CC_FLAGS_FTRACE)
15 endif
17 GCOV_PROFILE_early.o := n
18 GCOV_PROFILE_early_nobss.o := n
20 KCOV_INSTRUMENT_early.o := n
21 KCOV_INSTRUMENT_early_nobss.o := n
23 UBSAN_SANITIZE_early.o := n
24 UBSAN_SANITIZE_early_nobss.o := n
26 KASAN_SANITIZE_early_nobss.o := n
27 KASAN_SANITIZE_ipl.o := n
28 KASAN_SANITIZE_machine_kexec.o := n
31 # Passing null pointers is ok for smp code, since we access the lowcore here.
33 CFLAGS_smp.o := -Wno-nonnull
36 # Disable tailcall optimizations for stack / callchain walking functions
37 # since this might generate broken code when accessing register 15 and
38 # passing its content to other functions.
40 CFLAGS_stacktrace.o += -fno-optimize-sibling-calls
41 CFLAGS_dumpstack.o += -fno-optimize-sibling-calls
42 CFLAGS_unwind_bc.o += -fno-optimize-sibling-calls
45 # Pass UTS_MACHINE for user_regset definition
47 CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"'
49 obj-y := traps.o time.o process.o base.o early.o setup.o idle.o vtime.o
50 obj-y += processor.o sys_s390.o ptrace.o signal.o cpcmd.o ebcdic.o nmi.o
51 obj-y += debug.o irq.o ipl.o dis.o diag.o vdso.o early_nobss.o
52 obj-y += sysinfo.o lgr.o os_info.o machine_kexec.o pgm_check.o
53 obj-y += runtime_instr.o cache.o fpu.o dumpstack.o guarded_storage.o sthyi.o
54 obj-y += entry.o reipl.o relocate_kernel.o kdebugfs.o alternative.o
55 obj-y += nospec-branch.o ipl_vmparm.o machine_kexec_reloc.o unwind_bc.o
56 obj-y += smp.o
58 extra-y += head64.o vmlinux.lds
60 obj-$(CONFIG_SYSFS) += nospec-sysfs.o
61 CFLAGS_REMOVE_nospec-branch.o += $(CC_FLAGS_EXPOLINE)
63 obj-$(CONFIG_MODULES) += module.o
64 obj-$(CONFIG_SCHED_TOPOLOGY) += topology.o
65 obj-$(CONFIG_HIBERNATION) += suspend.o swsusp.o
66 obj-$(CONFIG_AUDIT) += audit.o
67 compat-obj-$(CONFIG_AUDIT) += compat_audit.o
68 obj-$(CONFIG_COMPAT) += compat_linux.o compat_signal.o
69 obj-$(CONFIG_COMPAT) += $(compat-obj-y)
70 obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
71 obj-$(CONFIG_STACKTRACE) += stacktrace.o
72 obj-$(CONFIG_KPROBES) += kprobes.o
73 obj-$(CONFIG_FUNCTION_TRACER) += mcount.o ftrace.o
74 obj-$(CONFIG_CRASH_DUMP) += crash_dump.o
75 obj-$(CONFIG_UPROBES) += uprobes.o
76 obj-$(CONFIG_JUMP_LABEL) += jump_label.o
78 obj-$(CONFIG_KEXEC_FILE) += machine_kexec_file.o kexec_image.o
79 obj-$(CONFIG_KEXEC_FILE) += kexec_elf.o
81 obj-$(CONFIG_IMA) += ima_arch.o
83 obj-$(CONFIG_PERF_EVENTS) += perf_event.o perf_cpum_cf_common.o
84 obj-$(CONFIG_PERF_EVENTS) += perf_cpum_cf.o perf_cpum_sf.o
85 obj-$(CONFIG_PERF_EVENTS) += perf_cpum_cf_events.o perf_regs.o
86 obj-$(CONFIG_PERF_EVENTS) += perf_cpum_cf_diag.o
88 obj-$(CONFIG_TRACEPOINTS) += trace.o
90 # vdso
91 obj-y += vdso64/
92 obj-$(CONFIG_COMPAT_VDSO) += vdso32/
94 chkbss := head64.o early_nobss.o
95 include $(srctree)/arch/s390/scripts/Makefile.chkbss