projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdf77a7
)
ARM: gic: add __ASSEMBLY__ guard to C definitions
author
Marc Zyngier
<marc.zyngier@arm.com>
Thu, 24 Jan 2013 13:39:43 +0000
(13:39 +0000)
committer
Marc Zyngier
<marc.zyngier@arm.com>
Mon, 11 Feb 2013 18:58:34 +0000
(18:58 +0000)
The GIC include file being used by some of the KVM assembly code,
wrap the C definitions with a #ifdef __ASSEMBLY__ guard.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
include/linux/irqchip/arm-gic.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/irqchip/arm-gic.h
b/include/linux/irqchip/arm-gic.h
index ef61d80946becf4f24f9ff3d10e737f155aa67aa..3fd8e4290a1cc7f9f421e710966bcd5aaf62d727 100644
(file)
--- a/
include/linux/irqchip/arm-gic.h
+++ b/
include/linux/irqchip/arm-gic.h
@@
-57,6
+57,8
@@
#define GICH_MISR_EOI (1 << 0)
#define GICH_MISR_U (1 << 1)
+#ifndef __ASSEMBLY__
+
struct device_node;
extern struct irq_chip gic_arch_extn;
@@
-72,4
+74,6
@@
static inline void gic_init(unsigned int nr, int start,
gic_init_bases(nr, start, dist, cpu, 0, NULL);
}
+#endif /* __ASSEMBLY */
+
#endif