kernel_optimize_test/arch/blackfin/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
..
cplb-mpu [Blackfin] arch: Initial checkin of the memory protection support. 2008-01-27 18:39:16 +08:00
cplb-nompu [Blackfin] arch: Fix bug - kernel build with Debug option enabled fails to boot up 2008-01-22 19:23:50 +08:00
asm-offsets.c Blackfin arch: cleanup warnings from checkpatch -- no functional changes 2007-07-12 22:58:21 +08:00
bfin_dma_5xx.c [Blackfin] arch: set_bfin_dma_config shouldnt set SYNC or RESTART by default - add argument or option 2008-01-22 15:29:18 +08:00
bfin_gpio.c [Blackfin] arch: Fix BUG gpio_direction_output API is not compatitable with GENERIC_GPIO API interface 2008-01-22 18:36:20 +08:00
bfin_ksyms.c Blackfin arch: rename _return_from_exception to _bfin_return_from_exception and export it 2007-11-21 15:53:49 +08:00
dma-mapping.c blackfin: fix sg fallout 2007-10-24 14:09:25 +02:00
dualcore_test.c Blackfin arch: cleanup warnings from checkpatch -- no functional changes 2007-07-12 22:58:21 +08:00
early_printk.c [Blackfin] arch: Spelling fixes 2007-12-24 20:03:51 +08:00
entry.S Blackfin arch: Fix random crash issue found by Michael. 2007-10-29 18:14:15 +08:00
fixed_code.S Blackfin arch: ensure that speculative loads of bad pointers don't cause us to do bad things. 2007-10-29 18:23:28 +08:00
flat.c Blackfin arch: cleanup warnings from checkpatch -- no functional changes 2007-07-12 22:58:21 +08:00
gptimers.c Blackfin arch: add support for checking/clearing overruns in generic purpose Timer API 2007-10-29 18:02:09 +08:00
init_task.c Blackfin arch: fix bug kernel not to boot up with mtd filesystems 2007-11-18 00:09:49 +08:00
irqchip.c Blackfin arch: allow people to select the feature that is unavailable to the kernel 2007-08-05 17:03:59 +08:00
kgdb.c Blackfin arch: kgdb specific code 2007-06-29 16:35:17 +08:00
Makefile [Blackfin] arch: move all code related to CPLB handling into a new subdirectory under kernel/ 2008-01-11 16:58:44 +08:00
module.c Blackfin arch: cleanup warnings from checkpatch -- no functional changes 2007-07-12 22:58:21 +08:00
process.c [Blackfin] arch: scrub dead alive/idle LED code 2007-12-24 14:59:03 +08:00
ptrace.c Consolidate PTRACE_DETACH 2007-10-16 09:42:49 -07:00
reboot.c [Blackfin] arch: Add proper SW System Reset delay sequence 2008-01-22 18:38:02 +08:00
setup.c Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
signal.c Blackfin arch: cleanup warnings from checkpatch -- no functional changes 2007-07-12 22:58:21 +08:00
sys_bfin.c Blackfin arch: after removing fs.h from mm.h, fix the broken on Blackfin arch 2007-08-11 15:47:39 -07:00
time.c [Blackfin] arch: scrub dead alive/idle LED code 2007-12-24 14:59:03 +08:00
traps.c [Blackfin] arch: print out list of modules if kernel is crashing and tell people if the kernel is tainted 2008-01-11 16:53:00 +08:00
vmlinux.lds.S all archs: consolidate init and exit sections in vmlinux.lds.h 2008-01-28 23:21:17 +01:00