tmp_suning_uos_patched/arch/powerpc/sysdev
Meador Inge d6a2639b88 powerpc: Factoring mpic cpu id fetching into a function
The following code snippet:

	unsigned int cpu = 0;
	if (mpic->flags & MPIC_PRIMARY)
		cpu = hard_smp_processor_id();

is seen in several places in the 'mpic.c' code.  This changeset factors
that pattern out into a helper function called 'mpic_processor_id'.

Signed-off-by: Meador Inge <meador_inge@mentor.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2011-03-21 11:01:32 +11:00
..
bestcomm dt/powerpc: Eliminate users of of_platform_{,un}register_driver 2011-02-28 01:36:39 -07:00
qe_lib Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2011-03-18 06:31:43 -07:00
6xx-suspend.S
axonram.c dt/powerpc: Eliminate users of of_platform_{,un}register_driver 2011-02-28 01:36:39 -07:00
cpm1.c powerpc: sysdev/cpm1 irq_data conversion. 2011-03-10 11:04:01 +11:00
cpm2_pic.c powerpc: sysdev/cpm2_pic irq_data conversion. 2011-03-10 11:04:01 +11:00
cpm2_pic.h powerpc/cpm2: Checkpatch cleanup 2010-03-04 10:43:58 -06:00
cpm2.c powerpc/fsl-cpm: Configure clock correctly for SCC 2010-04-19 23:13:03 -05:00
cpm_common.c of/gpio: add default of_xlate function if device has a node pointer 2010-07-05 16:14:30 -06:00
dart_iommu.c powerpc/dart: iommu table cleanup 2010-11-29 15:48:20 +11:00
dart.h
dcr-low.S
dcr.c
fsl_85xx_cache_ctlr.h powerpc/85xx: add cache-sram support 2010-10-14 00:54:38 -05:00
fsl_85xx_cache_sram.c powerpc/85xx: add cache-sram support 2010-10-14 00:54:38 -05:00
fsl_85xx_l2ctlr.c Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2011-03-18 06:31:43 -07:00
fsl_gtm.c of/address: Clean up function declarations 2010-08-01 01:42:42 -06:00
fsl_lbc.c P4080/mtd: Fix the freescale lbc issue with 36bit mode 2010-10-25 15:41:04 +01:00
fsl_msi.c Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2011-03-18 06:31:43 -07:00
fsl_msi.h powerpc/fsl_msi: add removal path and probe failing path 2010-05-24 21:26:35 -05:00
fsl_pci.c powerpc/fsl_pci: Add support for FSL PCIe controllers v2.x 2011-03-15 09:29:56 -05:00
fsl_pci.h powerpc/fsl_pci: Add support for FSL PCIe controllers v2.x 2011-03-15 09:29:56 -05:00
fsl_pmc.c dt/powerpc: Eliminate users of of_platform_{,un}register_driver 2011-02-28 01:36:39 -07:00
fsl_rio.c dt/powerpc: Eliminate users of of_platform_{,un}register_driver 2011-02-28 01:36:39 -07:00
fsl_soc.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6 2010-10-22 20:30:48 -07:00
fsl_soc.h powerpc/5121: shared DIU framebuffer support 2010-08-01 17:06:44 -06:00
grackle.c of: add 'of_' prefix to machine_is_compatible() 2010-02-09 08:33:00 -07:00
i8259.c powerpc: sysdev/i8259 irq_data conversion. 2011-03-10 11:04:02 +11:00
indirect_pci.c
ipic.c powerpc: sysdev/ipic irq_data conversion. 2011-03-10 11:04:02 +11:00
ipic.h
Kconfig
Makefile powerpc/4xx: Add suspend and idle support 2010-11-29 10:05:06 -05:00
micropatch.c powerpc/cpm1: Mark micropatch code/data static and __init 2010-07-11 11:04:06 -05:00
mmio_nvram.c
mpc5xxx_clocks.c
mpc8xx_pic.c powerpc: sysdev/mpc8xx_pic irq_data conversion. 2011-03-10 11:04:02 +11:00
mpc8xx_pic.h
mpc8xxx_gpio.c powerpc/mpc8xxx_gpio: simplify searching for 'fsl, qoriq-gpio' compatiable 2011-03-15 10:31:47 -05:00
mpic_msi.c
mpic_pasemi_msi.c powerpc: mpic irq_data conversion. 2011-03-10 11:03:56 +11:00
mpic_u3msi.c powerpc: mpic irq_data conversion. 2011-03-10 11:03:56 +11:00
mpic.c powerpc: Factoring mpic cpu id fetching into a function 2011-03-21 11:01:32 +11:00
mpic.h powerpc: mpic irq_data conversion. 2011-03-10 11:03:56 +11:00
msi_bitmap.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
mv64x60_dev.c powerpc/mv64x60: Suspected typo in assignment 2011-03-02 16:50:05 +11:00
mv64x60_pci.c powerpc/pci: Remove owner field from attribute initialization in PCI bridge init 2010-08-05 13:53:35 -07:00
mv64x60_pic.c powerpc: sysdev/mv64x60_pic irq_data conversion. 2011-03-10 11:04:02 +11:00
mv64x60_udbg.c
mv64x60.h
of_rtc.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
pmi.c dt/powerpc: Eliminate users of of_platform_{,un}register_driver 2011-02-28 01:36:39 -07:00
ppc4xx_cpm.c powerpc/4xx: Add suspend and idle support 2010-11-29 10:05:06 -05:00
ppc4xx_gpio.c of/gpio: add default of_xlate function if device has a node pointer 2010-07-05 16:14:30 -06:00
ppc4xx_pci.c powerpc/44x: Adding PCI-E support for PowerPC 460SX based SOC. 2010-05-07 15:07:19 -04:00
ppc4xx_pci.h powerpc/44x: Adding PCI-E support for PowerPC 460SX based SOC. 2010-05-07 15:07:19 -04:00
ppc4xx_soc.c powerpc/4xx: Add optional "reset_type" property to control reboot via dts 2010-05-05 12:51:54 -04:00
rtc_cmos_setup.c
simple_gpio.c of/gpio: add default of_xlate function if device has a node pointer 2010-07-05 16:14:30 -06:00
simple_gpio.h
tsi108_dev.c Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2011-01-11 16:31:41 -08:00
tsi108_pci.c powerpc: sysdev/tsi108_pci irq_data conversion. 2011-03-10 11:04:03 +11:00
uic.c powerpc: sysdev/uic irq_data conversion. 2011-03-10 11:04:03 +11:00
xilinx_intc.c powerpc: sysdev/xilinx_intc irq_data conversion. 2011-03-10 11:04:04 +11:00
xilinx_pci.c