Files
android_kernel_xiaomi_sm8450/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
..
2010-03-04 10:43:58 -06:00
2010-11-29 15:48:20 +11:00
2008-12-21 14:21:15 +11:00
2011-03-10 11:03:56 +11:00
2011-03-10 11:04:03 +11:00