kernel-ark/arch
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
..
alpha
arm Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fix 2007-05-21 12:03:04 -07:00
arm26
avr32
blackfin Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fix 2007-05-21 12:03:04 -07:00
cris
frv
h8300
i386 Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fix 2007-05-21 12:03:04 -07:00
ia64 Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 2007-05-22 16:46:29 -07:00
m32r
m68k
m68knommu
mips Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fix 2007-05-21 12:03:04 -07:00
parisc Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fix 2007-05-21 12:03:04 -07:00
powerpc [POWERPC] Fix warning in 32-bit builds with CONFIG_HIGHMEM 2007-05-22 20:20:57 +10:00
ppc
s390 Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fix 2007-05-21 12:03:04 -07:00
sh Merge master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6 2007-05-22 17:26:18 -07:00
sh64
sparc
sparc64
um uml: improve PTRACE_SYSEMU checking 2007-05-23 20:14:12 -07:00
v850
x86_64 Avoid zero size allocation in cache_k8_northbridges() 2007-05-23 20:14:12 -07:00
xtensa