diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-13 18:00:26 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-13 18:00:26 -0400 |
commit | 9663398a094e3b85415e27fe6047b067f5f81f99 (patch) | |
tree | 5b59c3ca79340d3c714addbfc1f61ea014a76996 /arch/arm/include | |
parent | bfd65dd9fe42b54c6f4eabbabc40bda9e25dcf93 (diff) | |
parent | d4e1c7ef46e9b02dbf691da0c84d653f88670213 (diff) |
Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC fixes from Olof Johansson:
"This is our first set of fixes from arm-soc for 3.11.
- A handful of build and warning fixes from Arnd
- A collection of OMAP fixes
- defconfig updates to make the default configs more useful for real
use (and testing) out of the box on hardware
And a couple of other small fixes. Some of these have been recently
applied but it's normally how we deal with fixes, with less bake time
in -next needed"
* tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (32 commits)
arm: multi_v7_defconfig: Tweaks for omap and sunxi
arm: multi_v7_defconfig: add i.MX options and NFS root
ARM: omap2: add select of TI_PRIV_EDMA
ARM: exynos: select PM_GENERIC_DOMAINS only when used
ARM: ixp4xx: avoid circular header dependency
ARM: OMAP: omap_common_late_init may be unused
ARM: sti: move DEBUG_STI_UART into alphabetical order
ARM: OMAP: build mach-omap code only if needed
ARM: zynq: use DT_MACHINE_START
ARM: omap5: omap5 has SCU and TWD
ARM: OMAP2+: omap2plus_defconfig: Enable appended DTB support
ARM: OMAP2+: Enable TI_EDMA in omap2plus_defconfig
ARM: OMAP2+: omap2plus_defconfig: enable DRA752 thermal support by default
ARM: OMAP2+: omap2plus_defconfig: enable TI bandgap driver
ARM: OMAP2+: devices: remove duplicated include from devices.c
ARM: OMAP3: igep0020: Set DSS pins in correct mux mode.
ARM: OMAP2+: N900: enable N900-specific drivers even if device tree is enabled
ARM: OMAP2+: Cocci spatch "ptr_ret.spatch"
ARM: OMAP2+: Remove obsolete Makefile line
ARM: OMAP5: Enable Cortex A15 errata 798181
...
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/smp_scu.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/arch/arm/include/asm/smp_scu.h b/arch/arm/include/asm/smp_scu.h index 18d169373612..0393fbab8dd5 100644 --- a/arch/arm/include/asm/smp_scu.h +++ b/arch/arm/include/asm/smp_scu.h | |||
@@ -23,10 +23,21 @@ static inline unsigned long scu_a9_get_base(void) | |||
23 | return pa; | 23 | return pa; |
24 | } | 24 | } |
25 | 25 | ||
26 | #ifdef CONFIG_HAVE_ARM_SCU | ||
26 | unsigned int scu_get_core_count(void __iomem *); | 27 | unsigned int scu_get_core_count(void __iomem *); |
27 | int scu_power_mode(void __iomem *, unsigned int); | 28 | int scu_power_mode(void __iomem *, unsigned int); |
29 | #else | ||
30 | static inline unsigned int scu_get_core_count(void __iomem *scu_base) | ||
31 | { | ||
32 | return 0; | ||
33 | } | ||
34 | static inline int scu_power_mode(void __iomem *scu_base, unsigned int mode) | ||
35 | { | ||
36 | return -EINVAL; | ||
37 | } | ||
38 | #endif | ||
28 | 39 | ||
29 | #ifdef CONFIG_SMP | 40 | #if defined(CONFIG_SMP) && defined(CONFIG_HAVE_ARM_SCU) |
30 | void scu_enable(void __iomem *scu_base); | 41 | void scu_enable(void __iomem *scu_base); |
31 | #else | 42 | #else |
32 | static inline void scu_enable(void __iomem *scu_base) {} | 43 | static inline void scu_enable(void __iomem *scu_base) {} |