android_kernel_xiaomi_sm8350/drivers/scsi
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
..
aacraid [SCSI] aacraid: README update 2006-01-12 11:55:16 -06:00
aic7xxx [SCSI] aic79xx: Fix timer handling 2006-01-31 14:39:50 -06:00
aic7xxx_old
arm [ARM] Remove asm/irq.h includes from ARM drivers 2006-01-09 13:56:42 +00:00
dpt
ibmvscsi [SCSI] ibmvscsi: handle re-enable firmware message 2006-01-26 08:10:08 -05:00
lpfc [SCSI] lpfc_scsi.c: make lpfc_get_scsi_buf() static 2006-01-12 11:36:37 -06:00
megaraid [SCSI] megaraid_sas: new template defined to represent each type of controllers 2006-01-29 11:25:30 -06:00
pcmcia [PATCH] pcmcia: unify attach, EVENT_CARD_INSERTION handlers into one probe callback 2006-01-06 00:03:24 +01:00
qla2xxx [SCSI] qla2xxx: Drop legacy 'bypass lun scan for tape device' code. 2006-01-26 08:17:25 -05:00
sym53c8xx_2 [SCSI] Rename scsi_print_msg to spi_print_msg 2005-12-15 18:41:27 -08:00
.gitignore gitignore: misc files 2006-01-01 22:21:50 +01:00
3w-9xxx.c [SCSI] sem2mutex 3w-[x9]xxx 2006-01-14 10:55:12 -06:00
3w-9xxx.h [SCSI] sem2mutex 3w-[x9]xxx 2006-01-14 10:55:12 -06:00
3w-xxxx.c [SCSI] sem2mutex 3w-[x9]xxx 2006-01-14 10:55:12 -06:00
3w-xxxx.h [SCSI] sem2mutex 3w-[x9]xxx 2006-01-14 10:55:12 -06:00
53c7xx_d.h_shipped
53c7xx_u.h_shipped
53c7xx.c [SCSI] Rename scsi_print_msg to spi_print_msg 2005-12-15 18:41:27 -08:00
53c7xx.h
53c7xx.scr
53c700_d.h_shipped
53c700.c [SCSI] Rename scsi_print_msg to spi_print_msg 2005-12-15 18:41:27 -08:00
53c700.h [SCSI] 53c700: update endian processing macros 2005-12-16 09:51:01 -08:00
53c700.scr
a100u2w.c
a100u2w.h
a2091.c
a2091.h
a3000.c
a3000.h
advansys.c
advansys.h
aha152x.c [SCSI] Rename scsi_print_msg to spi_print_msg 2005-12-15 18:41:27 -08:00
aha152x.h
aha1542.c
aha1542.h
aha1740.c
aha1740.h
ahci.c [libata ahci] add another JMicron pci id 2006-01-29 12:40:57 -05:00
aic7xxx_old.c [PATCH] Unlinline a bunch of other functions 2006-01-14 18:27:06 -08:00
amiga7xx.c
amiga7xx.h
ata_piix.c [PATCH] Intel ICH8 SATA: add PCI device IDs 2006-01-17 19:31:54 -05:00
atari_dma_emul.c
atari_NCR5380.c [SCSI] Rename scsi_print_msg to spi_print_msg 2005-12-15 18:41:27 -08:00
atari_scsi.c
atari_scsi.h
atp870u.c
atp870u.h
blz1230.c [PATCH] m68k: namespace pollution fix (custom->amiga_custom) 2006-01-12 09:09:00 -08:00
blz2060.c [PATCH] m68k: namespace pollution fix (custom->amiga_custom) 2006-01-12 09:09:00 -08:00
BusLogic.c [SCSI] Pass proper device from BusLogic to SCSI layer 2006-01-12 15:26:13 -06:00
BusLogic.h
bvme6000.c
bvme6000.h
ch.c [SCSI] turn most scsi semaphores into mutexes 2006-01-12 11:53:11 -06:00
constants.c [SCSI] Move scsi_print_msg to SPI class 2005-12-15 18:41:13 -08:00
cyberstorm.c [PATCH] m68k: namespace pollution fix (custom->amiga_custom) 2006-01-12 09:09:00 -08:00
cyberstormII.c [PATCH] m68k: namespace pollution fix (custom->amiga_custom) 2006-01-12 09:09:00 -08:00
dc395x.c [SCSI] dc395x: "fix" virt_addr calculation on AUTO_REQSENSE 2006-01-26 08:11:13 -05:00
dc395x.h
dec_esp.c
dmx3191d.c
dpt_i2o.c [SCSI] I2O: move pci_request_regions() just behind pci_enable_device() 2006-01-14 10:54:54 -06:00
dpti.h
dtc.c
dtc.h
eata_generic.h
eata_pio.c
eata_pio.h
eata.c
esp.c
esp.h
fastlane.c [PATCH] m68k: namespace pollution fix (custom->amiga_custom) 2006-01-12 09:09:00 -08:00
fcal.c
fcal.h
fd_mcs.c
fdomain.c
fdomain.h
FlashPoint.c Fix "stuct", "strut", "struc" typos 2006-01-15 02:12:54 +01:00
g_NCR5380_mmio.c
g_NCR5380.c
g_NCR5380.h
gdth_ioctl.h
gdth_kcompat.h
gdth_proc.c
gdth_proc.h
gdth.c spelling: s/appropiate/appropriate/ 2006-01-15 02:00:17 +01:00
gdth.h
gvp11.c
gvp11.h
hosts.c [SCSI] turn most scsi semaphores into mutexes 2006-01-12 11:53:11 -06:00
hosts.h
ibmmca.c
ibmmca.h
ide-scsi.c [PATCH] ide-scsi: fix for IDE probe/remove ops changes 2006-02-01 08:53:09 -08:00
imm.c
imm.h
in2000.c
in2000.h
initio.c
initio.h
ipr.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6 2006-01-04 18:44:12 -08:00
ipr.h [SCSI] ipr: Driver initialization fix for kexec/kdump 2005-12-13 18:10:58 -07:00
ips.c [SCSI] ServeRAID: prevent seeing DADSI devices 2006-01-31 14:43:18 -06:00
ips.h
iscsi_tcp.c [PATCH] Unlinline a bunch of other functions 2006-01-14 18:27:06 -08:00
iscsi_tcp.h [SCSI] iscsi: add high mem support 2006-01-14 10:55:18 -06:00
jazz_esp.c
Kconfig [PATCH] parport: Kconfig dependency fixes 2006-01-06 08:33:57 -08:00
lasi700.c
libata-core.c [PATCH] libata: Code for the IRQ mask flag 2006-01-17 19:37:45 -05:00
libata-scsi.c [LIBATA] Blacklist certain Maxtor firmware revisions for FUA support 2006-01-30 16:09:35 +01:00
libata.h [BLOCK] add FUA support to libata 2006-01-06 09:56:18 +01:00
mac53c94.c [PATCH] powerpc: Remove device_node addrs/n_addr 2006-01-09 14:53:55 +11:00
mac53c94.h
mac_esp.c
mac_scsi.c
mac_scsi.h
Makefile Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 2006-01-14 12:16:07 -08:00
mca_53c9x.c
megaraid.c [SCSI] turn most scsi semaphores into mutexes 2006-01-12 11:53:11 -06:00
megaraid.h [SCSI] turn most scsi semaphores into mutexes 2006-01-12 11:53:11 -06:00
mesh.c [PATCH] powerpc: Remove device_node addrs/n_addr 2006-01-09 14:53:55 +11:00
mesh.h
mvme16x.c
mvme16x.h
mvme147.c
mvme147.h
ncr53c8xx.c [SCSI] Merge sym53c8xx_comm.h and sym53c8xx_defs.h into ncr driver 2005-12-16 10:53:47 -08:00
ncr53c8xx.h [SCSI] Merge sym53c8xx_comm.h and sym53c8xx_defs.h into ncr driver 2005-12-16 10:53:47 -08:00
NCR53c406a.c
NCR53C9x.c [PATCH] m68k: fix PIO case in esp 2006-01-12 09:09:05 -08:00
NCR53C9x.h
NCR5380.c [SCSI] Rename scsi_print_msg to spi_print_msg 2005-12-15 18:41:27 -08:00
NCR5380.h
NCR_D700.c
NCR_D700.h
NCR_Q720.c
NCR_Q720.h
nsp32_debug.c
nsp32_io.h
nsp32.c
nsp32.h
oktagon_esp.c [PATCH] m68k: namespace pollution fix (custom->amiga_custom) 2006-01-12 09:09:00 -08:00
oktagon_io.S
osst_detect.h
osst_options.h
osst.c
osst.h
pas16.c
pas16.h
pci2000.h
pdc_adma.c [PATCH] libata: move err_mask to ata_queued_cmd 2005-12-06 04:49:22 -05:00
pluto.c
pluto.h
ppa.c
ppa.h
psi240i.c
psi240i.h
psi_chip.h
ql1040_fw.h
ql1280_fw.h
ql12160_fw.h
qla1280.c [SCSI] qla1280: remove < 2.6.0 support 2006-01-26 08:08:26 -05:00
qla1280.h
qlogicfas408.c
qlogicfas408.h
qlogicfas.c
qlogicfc_asm.c
qlogicfc.c
qlogicpti_asm.c
qlogicpti.c
qlogicpti.h
raid_class.c [SCSI] raid_class.c - adding RAID10 and RAID10 defines 2006-01-12 11:35:15 -06:00
sata_mv.c [BLOCK] update libata to use new blk_ordered for barriers 2006-01-06 09:55:00 +01:00
sata_nv.c [PATCH] sata_nv, spurious interrupts at system startup with MAXTOR 6H500F0 drive 2006-01-09 10:42:06 -05:00
sata_promise.c [libata] sata_promise: add pci id 2006-01-17 08:06:21 -05:00
sata_promise.h
sata_qstor.c [PATCH] libata: move err_mask to ata_queued_cmd 2005-12-06 04:49:22 -05:00
sata_sil24.c [BLOCK] update libata to use new blk_ordered for barriers 2006-01-06 09:55:00 +01:00
sata_sil.c [BLOCK] update libata to use new blk_ordered for barriers 2006-01-06 09:55:00 +01:00
sata_sis.c [BLOCK] update libata to use new blk_ordered for barriers 2006-01-06 09:55:00 +01:00
sata_svw.c [libata] sata_svw: add pci id 2006-01-17 07:58:42 -05:00
sata_sx4.c [BLOCK] update libata to use new blk_ordered for barriers 2006-01-06 09:55:00 +01:00
sata_uli.c [BLOCK] update libata to use new blk_ordered for barriers 2006-01-06 09:55:00 +01:00
sata_via.c [BLOCK] update libata to use new blk_ordered for barriers 2006-01-06 09:55:00 +01:00
sata_vsc.c [BLOCK] update libata to use new blk_ordered for barriers 2006-01-06 09:55:00 +01:00
script_asm.pl
scsi_debug.c [PATCH] Add Pseudo LLD bus_type probe and remove methods 2006-01-13 11:26:10 -08:00
scsi_debug.h
scsi_devinfo.c [SCSI] correct some dropped const compiler warnings 2005-12-13 18:12:05 -07:00
scsi_error.c [SCSI] Prevent scsi_execute_async from guessing cdb length 2006-01-26 15:13:50 -05:00
scsi_ioctl.c
scsi_lib.c [SCSI] Prevent scsi_execute_async from guessing cdb length 2006-01-26 15:13:50 -05:00
scsi_logging.h
scsi_module.c
scsi_priv.h [SCSI] remove target parent limitiation 2006-01-14 10:55:05 -06:00
scsi_proc.c [SCSI] remove target parent limitiation 2006-01-14 10:55:05 -06:00
scsi_scan.c [SCSI] remove target parent limitiation 2006-01-14 10:55:05 -06:00
scsi_sysctl.c
scsi_sysfs.c [SCSI] remove target parent limitiation 2006-01-14 10:55:05 -06:00
scsi_transport_fc.c [SCSI] remove target parent limitiation 2006-01-14 10:55:05 -06:00
scsi_transport_iscsi.c [SCSI] iscsi: fix 4k stack iscsi setups 2006-01-14 10:55:21 -06:00
scsi_transport_sas.c [SCSI] scsi_transport_sas.c: display port identifier 2006-01-31 14:39:36 -06:00
scsi_transport_spi.c [SCSI] sem2mutex: scsi_transport_spi.c 2006-01-14 10:55:01 -06:00
scsi_typedefs.h
scsi.c [PATCH] percpu data: only iterate over possible CPUs 2006-02-05 11:06:51 -08:00
scsi.h
scsicam.c
sd.c [SCSI] always handle REQ_BLOCK_PC requests in common code 2006-01-14 10:54:45 -06:00
seagate.c
seagate.h
sg.c [SCSI] Prevent scsi_execute_async from guessing cdb length 2006-01-26 15:13:50 -05:00
sgiwd93.c
sim710.c
sr_ioctl.c [SCSI] sr: split sr_audio_ioctl into specific helpers 2006-01-14 10:54:46 -06:00
sr_vendor.c [SCSI] Missing const in sr_vendor 2005-12-17 10:50:23 -06:00
sr.c [PATCH] Unlinline a bunch of other functions 2006-01-14 18:27:06 -08:00
sr.h
st_options.h
st.c [SCSI] Prevent scsi_execute_async from guessing cdb length 2006-01-26 15:13:50 -05:00
st.h [SCSI] convert st to use scsi_execute_async 2005-12-14 19:16:31 -08:00
sun3_NCR5380.c [SCSI] Rename scsi_print_msg to spi_print_msg 2005-12-15 18:41:27 -08:00
sun3_scsi_vme.c
sun3_scsi.c
sun3_scsi.h
sun3x_esp.c
sym53c416.c
sym53c416.h
t128.c
t128.h
tmscsim.c
tmscsim.h
u14-34f.c
ultrastor.c
ultrastor.h
wd33c93.c [PATCH] m68k: NULL noise removal 2006-01-12 09:09:04 -08:00
wd33c93.h
wd7000.c
zalon.c