android_kernel_xiaomi_sdm845/include/asm-powerpc
Andrew Morton 394e3902c5 [PATCH] more for_each_cpu() conversions
When we stop allocating percpu memory for not-possible CPUs we must not touch
the percpu data for not-possible CPUs at all.  The correct way of doing this
is to test cpu_possible() or to use for_each_cpu().

This patch is a kernel-wide sweep of all instances of NR_CPUS.  I found very
few instances of this bug, if any.  But the patch converts lots of open-coded
test to use the preferred helper macros.

Cc: Mikael Starvik <starvik@axis.com>
Cc: David Howells <dhowells@redhat.com>
Acked-by: Kyle McMartin <kyle@parisc-linux.org>
Cc: Anton Blanchard <anton@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: William Lee Irwin III <wli@holomorphy.com>
Cc: Andi Kleen <ak@muc.de>
Cc: Christian Zankel <chris@zankel.net>
Cc: Philippe Elie <phil.el@wanadoo.fr>
Cc: Nathan Scott <nathans@sgi.com>
Cc: Jens Axboe <axboe@suse.de>
Cc: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-23 07:38:17 -08:00
..
iseries [PATCH] powerpc: iseries: Make more stuff static in platforms/iseries/mf.c 2006-03-22 15:04:23 +11:00
8253pit.h
a.out.h
abs_addr.h
agp.h
asm-compat.h
atomic.h [PATCH] powerpc: native atomic_add_unless 2006-02-24 14:06:02 +11:00
auxvec.h
backlight.h
bitops.h
bootx.h
btext.h
bug.h
bugs.h
byteorder.h
cache.h
cacheflush.h
checksum.h
compat.h [PATCH] powerpc signal __user annotations 2006-02-08 01:03:46 -05:00
cputable.h [PATCH] powerpc: trivial: Cleanup whitespace in cputable.h 2006-03-22 15:04:15 +11:00
cputime.h powerpc: Implement accurate task and CPU time accounting 2006-02-24 14:05:56 +11:00
current.h
dbdma.h
delay.h
div64.h
dma-mapping.h [PATCH] remove bogus asm/bug.h includes. 2006-02-07 20:56:35 -05:00
dma.h
eeh_event.h
eeh.h [PATCH] powerpc: restore eeh_add_device_late() prototype stub 2006-03-08 14:14:00 -08:00
elf.h
emergency-restart.h
errno.h
fcntl.h
firmware.h [PATCH] powerpc: Replace platform_is_lpar() with a firmware feature 2006-03-22 15:04:17 +11:00
floppy.h
futex.h
grackle.h
hardirq.h
heathrow.h
hvcall.h
hvconsole.h
hvcserver.h
hw_irq.h
i8259.h
ibmebus.h
ide.h
io.h
ioctl.h
ioctls.h
iommu.h
ipc.h
ipcbuf.h
ipic.h
irq.h powerpc: Implement accurate task and CPU time accounting 2006-02-24 14:05:56 +11:00
kdebug.h
kdump.h
kexec.h [PATCH] fix kexec asm 2006-03-08 14:15:04 -08:00
keylargo.h
kmap_types.h
kprobes.h
linkage.h
lmb.h [PATCH] powerpc: Remove calculation of io hole 2006-03-22 15:04:30 +11:00
local.h
lppaca.h
machdep.h
macio.h
mc146818rtc.h
mediabay.h
mman.h [PATCH] add asm-generic/mman.h 2006-02-15 15:32:22 -08:00
mmu_context.h
mmu.h [PATCH] powerpc: Remove calculation of io hole 2006-03-22 15:04:30 +11:00
mmzone.h
module.h
mpic.h
msgbuf.h
mutex.h
namei.h
numnodes.h
nvram.h
of_device.h
ohare.h
oprofile_impl.h
paca.h powerpc: Implement accurate task and CPU time accounting 2006-02-24 14:05:56 +11:00
page_32.h
page_64.h
page.h
param.h
parport.h
pci-bridge.h
pci.h
percpu.h [PATCH] more for_each_cpu() conversions 2006-03-23 07:38:17 -08:00
pgalloc.h [PATCH] powerpc: Fix accidentally-working typo in __pud_free_tlb 2006-02-17 13:59:27 -08:00
pgtable-4k.h Merge ../linux-2.6 2006-03-09 14:32:05 +11:00
pgtable-64k.h
pgtable.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2006-03-22 22:20:46 -08:00
pmac_feature.h
pmac_low_i2c.h
pmac_pfunc.h
pmc.h
poll.h
posix_types.h
ppc_asm.h powerpc: Implement accurate task and CPU time accounting 2006-02-24 14:05:56 +11:00
ppc-pci.h [PATCH] powerpc: properly configure DDR/P5IOC children devs 2006-03-16 16:55:07 +11:00
processor.h [PATCH] powerpc: Replace platform_is_lpar() with a firmware feature 2006-03-22 15:04:17 +11:00
prom.h [PATCH] powerpc: add for_each_node_by_foo helpers 2006-03-17 13:21:09 +11:00
pSeries_reconfig.h
ptrace.h
reg_8xx.h
reg.h [PATCH] powerpc: Fix runlatch performance issues 2006-02-24 11:36:31 +11:00
resource.h
rtas.h
rtc.h
rwsem.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
scatterlist.h
seccomp.h
sections.h
semaphore.h
sembuf.h
serial.h
setup.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
smp.h
smu.h [PATCH] powerpc: Thermal control for dual core G5s 2006-02-07 22:05:14 -08:00
socket.h
sockios.h
sparsemem.h
spinlock_types.h
spinlock.h
spu_csa.h
spu.h
sstep.h
stat.h
statfs.h
string.h
synch.h [PATCH] powerpc: newline for ISYNC_ON_SMP 2006-02-24 14:06:00 +11:00
system.h [PATCH] powerpc: Add strne2a() to convert a string from EBCDIC to ASCII 2006-03-22 15:04:25 +11:00
tce.h
termbits.h
termios.h
thread_info.h powerpc: Fix various syscall/signal/swapcontext bugs 2006-03-08 13:24:22 +11:00
time.h powerpc: Implement accurate task and CPU time accounting 2006-02-24 14:05:56 +11:00
timex.h
tlb.h
tlbflush.h
topology.h
types.h
uaccess.h
ucontext.h
udbg.h
unaligned.h
uninorth.h
unistd.h [PATCH] powerpc: unshare system call registration 2006-02-10 16:34:54 +11:00
user.h
vdso_datapage.h
vdso.h
vga.h
vio.h
xmon.h
xor.h