linux-stable-rt/arch/x86_64/kernel
Ben Collins 3c6df2a917 Avoid zero size allocation in cache_k8_northbridges()
kmalloc for flush_words resulted in zero size allocation when no
k8_northbridges existed.  Short circuit the code path for this case.

Also remove uneeded zeroing of num_k8_northbridges just after checking if
it is zero.

Signed-off-by: Ben Collins <bcollins@ubuntu.com>
Cc: Andi Kleen <ak@suse.de>
Cc: Dave Jones <davej@codemonkey.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-23 20:14:12 -07:00
..
acpi
cpufreq
Makefile
aperture.c
apic.c
asm-offsets.c
audit.c
bugs.c
crash.c
crash_dump.c
e820.c
early-quirks.c
early_printk.c
entry.S
genapic.c
genapic_flat.c
head.S
head64.c
hpet.c
i387.c
i8259.c
init_task.c
io_apic.c
ioport.c
irq.c
k8.c
kprobes.c
ldt.c
machine_kexec.c
mce.c
mce_amd.c
mce_intel.c
module.c
mpparse.c
nmi.c
pci-calgary.c
pci-dma.c
pci-gart.c
pci-nommu.c
pci-swiotlb.c
pmtimer.c
process.c
ptrace.c
reboot.c
relocate_kernel.S
setup.c
setup64.c
signal.c
smp.c
smpboot.c
stacktrace.c
suspend.c
suspend_asm.S
sys_x86_64.c
syscall.c
tce.c
time.c
trampoline.S
traps.c
tsc.c
tsc_sync.c
verify_cpu.S
vmlinux.lds.S
vsmp.c
vsyscall.c
x8664_ksyms.c