summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2013-09-17 15:13:38 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2013-09-17 15:14:07 +0100
commit7f63037c8fb204f666367c6469f5a9b9d6888877 (patch)
treea026c999c7166aa1004e111b2e9afd7b663acdce /include
parent272b98c6455f00884f0350f775c5342358ebb73f (diff)
parentb22537c682671de97c932d5addb6b7d087352aa1 (diff)
downloadtalos-op-linux-7f63037c8fb204f666367c6469f5a9b9d6888877.tar.gz
talos-op-linux-7f63037c8fb204f666367c6469f5a9b9d6888877.zip
Merge branch 'iks_for_rmk' of git://git.linaro.org/people/nico/linux into devel-stable
Nicolas Pitre writes: This is the first part of the patch series adding IKS (In-Kernel Switcher) support for big.LITTLE system architectures. This consists of the core patches only. Extra patches to come later will introduce various optimizations and tracing support. Those patches were posted on the list a while ago here: http://news.gmane.org/group/gmane.linux.ports.arm.kernel/thread=253942
Diffstat (limited to 'include')
-rw-r--r--include/linux/irqchip/arm-gic.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/irqchip/arm-gic.h b/include/linux/irqchip/arm-gic.h
index 0e5d9ecdb2b6..46544e381bf9 100644
--- a/include/linux/irqchip/arm-gic.h
+++ b/include/linux/irqchip/arm-gic.h
@@ -31,6 +31,8 @@
#define GIC_DIST_TARGET 0x800
#define GIC_DIST_CONFIG 0xc00
#define GIC_DIST_SOFTINT 0xf00
+#define GIC_DIST_SGI_PENDING_CLEAR 0xf10
+#define GIC_DIST_SGI_PENDING_SET 0xf20
#define GICH_HCR 0x0
#define GICH_VTR 0x4
@@ -74,6 +76,9 @@ static inline void gic_init(unsigned int nr, int start,
gic_init_bases(nr, start, dist, cpu, 0, NULL);
}
+int gic_get_cpu_id(unsigned int cpu);
+void gic_migrate_target(unsigned int new_cpu_id);
+
#endif /* __ASSEMBLY */
#endif
OpenPOWER on IntegriCloud