linux/arch/tile/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
backtrace.c
compat.c
compat_signal.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/signal 2012-10-12 10:49:08 +09:00
early_printk.c
entry.S
futex_64.S
hardwall.c
head_32.S
head_64.S
hvglue.lds
intvec_32.S
intvec_64.S
irq.c
machine_kexec.c
Makefile
messaging.c
module.c modules: don't hand 0 to vmalloc. 2012-12-14 13:06:43 +10:30
pci-dma.c
pci.c
pci_gx.c
proc.c
process.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile 2012-10-13 10:46:18 +09:00
ptrace.c
reboot.c
regs_32.S
regs_64.S
relocate_kernel_32.S
relocate_kernel_64.S
setup.c
signal.c
single_step.c
smp.c
smpboot.c
stack.c
sys.c
sysfs.c
tile-desc_32.c
tile-desc_64.c
time.c
tlb.c
traps.c
usb.c
vmlinux.lds.S