linux-stable-rt/arch/s390/kernel
Bernhard Walle 72a7fe3967 Introduce flags for reserve_bootmem()
This patchset adds a flags variable to reserve_bootmem() and uses the
BOOTMEM_EXCLUSIVE flag in crashkernel reservation code to detect collisions
between crashkernel area and already used memory.

This patch:

Change the reserve_bootmem() function to accept a new flag BOOTMEM_EXCLUSIVE.
If that flag is set, the function returns with -EBUSY if the memory already
has been reserved in the past.  This is to avoid conflicts.

Because that code runs before SMP initialisation, there's no race condition
inside reserve_bootmem_core().

[akpm@linux-foundation.org: coding-style fixes]
[akpm@linux-foundation.org: fix powerpc build]
Signed-off-by: Bernhard Walle <bwalle@suse.de>
Cc: <linux-arch@vger.kernel.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Vivek Goyal <vgoyal@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-07 08:42:25 -08:00
..
Makefile [S390] Remove TOPDIR from Makefile 2008-01-26 14:11:29 +01:00
asm-offsets.c
audit.c
audit.h
base.S
binfmt_elf32.c
bitmap.S
compat_audit.c
compat_exec_domain.c
compat_linux.c
compat_linux.h
compat_ptrace.h
compat_signal.c
compat_wrapper.S timerfd: new timerfd API 2008-02-05 09:44:07 -08:00
cpcmd.c
crash.c
debug.c
diag.c
dis.c
early.c
ebcdic.c
entry.S [S390] Fix couple of section mismatches. 2008-02-05 16:50:56 +01:00
entry64.S [S390] Fix couple of section mismatches. 2008-02-05 16:50:56 +01:00
head.S
head31.S
head64.S
init_task.c
ipl.c [S390] Fix couple of section mismatches. 2008-02-05 16:50:56 +01:00
irq.c
kprobes.c
machine_kexec.c
module.c
process.c
ptrace.c [S390] single-step cleanup 2008-01-26 14:11:27 +01:00
reipl.S
reipl64.S
relocate_kernel.S
relocate_kernel64.S
s390_ext.c
s390_ksyms.c
semaphore.c
setup.c Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
signal.c [S390] single-step cleanup 2008-01-26 14:11:27 +01:00
smp.c [S390] Fix couple of section mismatches. 2008-02-05 16:50:56 +01:00
stacktrace.c [S390] latencytop s390 support. 2008-02-05 16:50:59 +01:00
sys_s390.c
syscalls.S timerfd: new timerfd API 2008-02-05 09:44:07 -08:00
time.c
traps.c [S390] DEBUG_PAGEALLOC support for s390. 2008-02-05 16:50:54 +01:00
vmlinux.lds.S [S390] Fix linker script. 2008-02-05 16:50:55 +01:00
vtime.c