diff options
author | Vasily Gorbik <gor@linux.ibm.com> | 2018-05-03 10:40:13 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2018-05-09 04:55:01 -0400 |
commit | 0391fcb5e1f8f10d4cf491ec2ea107a2e6a937f7 (patch) | |
tree | 91915a3b8b42f466fe565991387e589376e37e33 /arch/s390/lib | |
parent | 971a9ca6259752c04da09535707d08ccc5d1ed4b (diff) |
s390: introduce compile time check for empty .bss section
Introduce compile time check for files which should avoid using .bss
section, because of the following reasons:
- .bss section has not been zeroed yet,
- initrd has not been moved to a safe location and could be overlapping
with .bss section.
Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/lib')
-rw-r--r-- | arch/s390/lib/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/s390/lib/Makefile b/arch/s390/lib/Makefile index 9bfe0802684b..57ab40188d4b 100644 --- a/arch/s390/lib/Makefile +++ b/arch/s390/lib/Makefile | |||
@@ -8,3 +8,6 @@ obj-y += mem.o xor.o | |||
8 | lib-$(CONFIG_SMP) += spinlock.o | 8 | lib-$(CONFIG_SMP) += spinlock.o |
9 | lib-$(CONFIG_KPROBES) += probes.o | 9 | lib-$(CONFIG_KPROBES) += probes.o |
10 | lib-$(CONFIG_UPROBES) += probes.o | 10 | lib-$(CONFIG_UPROBES) += probes.o |
11 | |||
12 | chkbss := mem.o | ||
13 | include $(srctree)/arch/s390/scripts/Makefile.chkbss | ||