android_kernel_samsung_msm8976/drivers
Eric Dumazet 88a2a4ac6b [PATCH] percpu data: only iterate over possible CPUs
percpu_data blindly allocates bootmem memory to store NR_CPUS instances of
cpudata, instead of allocating memory only for possible cpus.

As a preparation for changing that, we need to convert various 0 -> NR_CPUS
loops to use for_each_cpu().

(The above only applies to users of asm-generic/percpu.h.  powerpc has gone it
alone and is presently only allocating memory for present CPUs, so it's
currently corrupting memory).

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Cc: Jens Axboe <axboe@suse.de>
Cc: Anton Blanchard <anton@samba.org>
Acked-by: William Irwin <wli@holomorphy.com>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-02-05 11:06:51 -08:00
..
acorn
acpi [PATCH] x86_64: data/functions wrongly marked as __init with cpu hotplug. 2006-02-04 16:43:14 -08:00
amba
atm
base [PATCH] Export cpu topology in sysfs 2006-02-03 08:32:09 -08:00
block [PATCH] umem: check pci_set_dma_mask return value correctly 2006-02-03 08:32:05 -08:00
bluetooth
cdrom
char [PATCH] IPMI: fix issues reported by Coverity in ipmi_msghandler.c 2006-02-03 08:32:11 -08:00
connector
cpufreq
crypto
dio
edac [PATCH] x86_64: Remove rogue default y in EDAC Kconfig 2006-02-04 16:43:13 -08:00
eisa
fc4
firmware
hwmon
i2c
ide [PATCH] IDE: always enable CONFIG_PDC202XX_FORCE 2006-02-03 08:32:13 -08:00
ieee1394
infiniband
input Merge master.kernel.org:/pub/scm/linux/kernel/git/dtor/input 2006-01-31 21:18:17 -08:00
isdn [PATCH] i4l: warning fixes 2006-02-03 08:32:11 -08:00
macintosh [PATCH] MODALIAS= for macio 2006-02-01 08:53:19 -08:00
mca
md [PATCH] md: Make sure rdev->size gets set for version-1 superblocks 2006-02-03 08:32:00 -08:00
media [PATCH] fix saa7146 kobject register failure 2006-02-01 08:53:14 -08:00
message [PATCH] I2O: fix and workaround for Motorola/Freescale controller 2006-02-03 08:32:07 -08:00
mfd
misc
mmc [MMC] Add MMC command type flags 2006-02-02 12:23:12 +00:00
mtd [PATCH] Fix compilation errors in maps/dc21285.c 2006-02-03 08:32:01 -08:00
net Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2006-02-03 08:33:06 -08:00
nubus
oprofile
parisc
parport Merge master.kernel.org:/pub/scm/linux/kernel/git/kyle/parisc-2.6 2006-02-03 18:17:47 -08:00
pci [PATCH] PowerPC/PCI Hotplug build break 2006-02-01 16:35:29 -08:00
pcmcia
pnp Merge git://git.kernel.org/pub/scm/linux/kernel/git/perex/alsa 2006-02-01 22:08:23 -08:00
rapidio
s390 [PATCH] s390: fix to_channelpath macro 2006-02-03 08:32:01 -08:00
sbus
scsi [PATCH] percpu data: only iterate over possible CPUs 2006-02-05 11:06:51 -08:00
serial Merge master.kernel.org:/home/rmk/linux-2.6-serial 2006-02-03 15:51:48 -08:00
sh
sn [PATCH] Altix ioc3: correct export call 2006-02-01 08:53:25 -08:00
spi
tc
telephony [PATCH] ixj: fix writing silence check 2006-02-03 08:32:08 -08:00
usb Merge master.kernel.org:/pub/scm/linux/kernel/git/dtor/input 2006-01-31 21:18:17 -08:00
video Merge master.kernel.org:/pub/scm/linux/kernel/git/kyle/parisc-2.6 2006-02-03 18:17:47 -08:00
w1
zorro
Kconfig
Makefile