aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/errqueue.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-08-14 01:45:41 -0700
committerDavid S. Miller <davem@davemloft.net>2008-08-14 01:45:41 -0700
commitf2b6079464fc73cf12f08248180a618f05033a70 (patch)
tree840e53b1a0b7a61d1875206a8fc520714541b6d8 /include/linux/errqueue.h
parentsparc64: Fix overshoot in nid_range(). (diff)
sparc64: Fix cmdline_memory_size handling bugs.
First, lmb_enforce_memory_limit() interprets it's argument (mostly, heh) as a size limit not an address limit. So pass the raw cmdline_memory_size value into it. And we don't need to check it against zero, lmb_enforce_memory_limit() does that for us. Next, free_initmem() needs special handling when the kernel command line trims the available memory. The problem case is if the trimmed out memory is where the kernel image itself resides. When that memory is trimmed out, we don't add those physical ram areas to the sparsemem active ranges, amongst other things. Which means that this free_initmem() code will free up invalid page structs, resulting in either crashes or hangs. Just quick fix this by not freeing initmem at all if "mem=" was given on the boot command line. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions
=retro' />Stephen Boyd1-3/+1 2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 333Thomas Gleixner1-13/+1 2019-04-05drivers: gpio: tb10x: use devm_platform_ioremap_resource()Enrico Weigelt, metux IT consult1-3/+1 2018-08-29gpio: tb10x: Use GENERIC_GPIOLinus Walleij1-65/+29 2018-08-29gpio: tb10x: Create local helper variablesLinus Walleij1-13/+14 2018-08-10gpio: tb10x: Use the right includeLinus Walleij1-2/+1 2017-09-21gpio: tb10x: Handle return value of devm_kasprintfArvind Yadav1-0/+3 2017-08-14gpio: Convert to using %pOF instead of full_nameRob Herring1-1/+2 2016-02-23gpio: tb10x: Use devm_gpiochip_add_data() for gpio registrationLaxman Dewangan1-16/+6 2016-01-05gpio: tb10x: use gpiochip data pointerLinus Walleij1-11/+6 2015-11-19gpio: change member .dev to .parentLinus Walleij1-1/+1 2015-10-16gpio: replace trivial implementations of request/free with generic oneJonas Gorski1-12/+2 2015-06-02gpio: tb10x: Drop unneeded free_irq() callAxel Lin1-1/+0 2015-03-27gpio: gpio-tb10x: remove incorrect __exit markupDmitry Torokhov1-1/+1 2014-12-14Merge tag 'driver-core-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-coreLinus Torvalds1-1/+0 2014-10-28gpio: gpio-tb10x: remove duplicate check on resourceVarka Bhadram1-6/+1 2014-10-20gpio: drop owner assignment from platform_driversWolfram Sang1-1/+0 2014-07-22gpio: remove all usage of gpio_remove retval in driver/gpioabdoulaye berthe1-4/+1