[PATCH 2/3] ARM: Silence first allocation with CONFIG_ARM_MODULE_PLTS=y

2017-04-25 Thread Florian Fainelli
When CONFIG_ARM_MODULE_PLTS is enabled, the first allocation using the module space fails, because the module is too big, and then the module allocation is attempted from vmalloc space. Silence the first allocation failure in that case by setting __GFP_NOWARN. Signed-off-by: Florian Fainelli

[PATCH 2/3] ARM: Silence first allocation with CONFIG_ARM_MODULE_PLTS=y

2017-04-25 Thread Florian Fainelli
When CONFIG_ARM_MODULE_PLTS is enabled, the first allocation using the module space fails, because the module is too big, and then the module allocation is attempted from vmalloc space. Silence the first allocation failure in that case by setting __GFP_NOWARN. Signed-off-by: Florian Fainelli ---