Commit 9f8050c4f99789d03ca96d4e625bd6637241828f
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
Merge tag 'fixes-urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull last minute fixes from Olof Johansson: "One samsung build fix due to a mis-applied patch, and a small set of OMAP fixes. This should be the last from arm-soc for 3.3, hopefully." * tag 'fixes-urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: ARM: S3C2440: Fixed build error for s3c244x ARM: OMAP2+: Fix module build errors with CONFIG_OMAP4_ERRATA_I688 ARM: OMAP: id: Add missing break statement in omap3xxx_check_revision ARM: OMAP2+: Remove apply_uV constraints for fixed regulator ARM: OMAP: irqs: Fix NR_IRQS value to handle PRCM interrupts
Showing 5 changed files Side-by-side Diff
arch/arm/mach-omap2/id.c
arch/arm/mach-omap2/omap4-common.c
... | ... | @@ -31,6 +31,7 @@ |
31 | 31 | |
32 | 32 | #include "common.h" |
33 | 33 | #include "omap4-sar-layout.h" |
34 | +#include <linux/export.h> | |
34 | 35 | |
35 | 36 | #ifdef CONFIG_CACHE_L2X0 |
36 | 37 | static void __iomem *l2cache_base; |
... | ... | @@ -55,6 +56,7 @@ |
55 | 56 | isb(); |
56 | 57 | } |
57 | 58 | } |
59 | +EXPORT_SYMBOL(omap_bus_sync); | |
58 | 60 | |
59 | 61 | /* Steal one page physical memory for barrier implementation */ |
60 | 62 | int __init omap_barrier_reserve_memblock(void) |
arch/arm/mach-omap2/twl-common.c
arch/arm/mach-s3c2440/s3c244x.c
arch/arm/plat-omap/include/plat/irqs.h
... | ... | @@ -428,8 +428,16 @@ |
428 | 428 | #define OMAP_GPMC_NR_IRQS 8 |
429 | 429 | #define OMAP_GPMC_IRQ_END (OMAP_GPMC_IRQ_BASE + OMAP_GPMC_NR_IRQS) |
430 | 430 | |
431 | +/* PRCM IRQ handler */ | |
432 | +#ifdef CONFIG_ARCH_OMAP2PLUS | |
433 | +#define OMAP_PRCM_IRQ_BASE (OMAP_GPMC_IRQ_END) | |
434 | +#define OMAP_PRCM_NR_IRQS 64 | |
435 | +#define OMAP_PRCM_IRQ_END (OMAP_PRCM_IRQ_BASE + OMAP_PRCM_NR_IRQS) | |
436 | +#else | |
437 | +#define OMAP_PRCM_IRQ_END OMAP_GPMC_IRQ_END | |
438 | +#endif | |
431 | 439 | |
432 | -#define NR_IRQS OMAP_GPMC_IRQ_END | |
440 | +#define NR_IRQS OMAP_PRCM_IRQ_END | |
433 | 441 | |
434 | 442 | #define OMAP_IRQ_BIT(irq) (1 << ((irq) % 32)) |
435 | 443 |