linux/arch/unicore32/kernel
Rusty Russell 82fab442f5 modules: don't hand 0 to vmalloc.
In commit d0a21265df David Rientjes unified various archs'
module_alloc implementation (including x86) and removed the graduitous
shortcut for size == 0.

Then, in commit de7d2b567d, Joe Perches added a warning for
zero-length vmallocs, which can happen without kallsyms on modules
with no init sections (eg. zlib_deflate).

Fix this once and for all; the module code has to handle zero length
anyway, so get it right at the caller and remove the now-gratuitous
checks within the arch-specific module_alloc implementations.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=42608
Reported-by: Conrad Kostecki <ConiKost@gmx.de>
Cc: David Rientjes <rientjes@google.com>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-12-14 13:06:43 +10:30
..
asm-offsets.c
clock.c
cpu-ucv2.c
debug-macro.S
debug.S
dma.c
early_printk.c
elf.c
entry.S unicore32: switch to generic sys_execve() 2012-11-09 17:30:10 +08:00
fpu-ucf64.c
gpio.c
head.S
hibernate.c
hibernate_asm.S
irq.c
ksyms.c
ksyms.h
Makefile pwm: Move PUV3 PWM driver to PWM framework 2012-10-05 20:56:41 +02:00
module.c modules: don't hand 0 to vmalloc. 2012-12-14 13:06:43 +10:30
pci.c PCI: Provide a default pcibios_update_irq() 2012-09-18 17:28:21 -06:00
pm.c
process.c unicore32: switch to generic kernel_thread()/kernel_execve() 2012-11-09 17:30:09 +08:00
ptrace.c
puv3-core.c
puv3-nb0916.c
setup.c
setup.h UniCore32-bugfix: Remove definitions in asm/bug.h to solve difference between native and cross compiler 2012-11-09 17:30:09 +08:00
signal.c Uninclude linux/freezer.h 2012-10-01 09:58:18 -04:00
sleep.S
stacktrace.c
sys.c unicore32: switch to generic sys_execve() 2012-11-09 17:30:10 +08:00
time.c
traps.c
vmlinux.lds.S