diff options
| -rw-r--r-- | arch/arm/mach-realview/realview_eb.c | 2 | ||||
| -rw-r--r-- | arch/arm/vfp/vfpmodule.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-realview/realview_eb.c b/arch/arm/mach-realview/realview_eb.c index 3dba666151db..ecec2f85c4cd 100644 --- a/arch/arm/mach-realview/realview_eb.c +++ b/arch/arm/mach-realview/realview_eb.c | |||
| @@ -165,7 +165,7 @@ static void __init gic_init_irq(void) | |||
| 165 | #endif | 165 | #endif |
| 166 | gic_dist_init(0, __io_address(REALVIEW_GIC_DIST_BASE), 29); | 166 | gic_dist_init(0, __io_address(REALVIEW_GIC_DIST_BASE), 29); |
| 167 | gic_cpu_init(0, __io_address(REALVIEW_GIC_CPU_BASE)); | 167 | gic_cpu_init(0, __io_address(REALVIEW_GIC_CPU_BASE)); |
| 168 | #ifdef CONFIG_REALVIEW_MPCORE | 168 | #if defined(CONFIG_REALVIEW_MPCORE) && !defined(CONFIG_REALVIEW_MPCORE_REVB) |
| 169 | gic_dist_init(1, __io_address(REALVIEW_GIC1_DIST_BASE), 64); | 169 | gic_dist_init(1, __io_address(REALVIEW_GIC1_DIST_BASE), 64); |
| 170 | gic_cpu_init(1, __io_address(REALVIEW_GIC1_CPU_BASE)); | 170 | gic_cpu_init(1, __io_address(REALVIEW_GIC1_CPU_BASE)); |
| 171 | gic_cascade_irq(1, IRQ_EB_IRQ1); | 171 | gic_cascade_irq(1, IRQ_EB_IRQ1); |
diff --git a/arch/arm/vfp/vfpmodule.c b/arch/arm/vfp/vfpmodule.c index 04ddab2bd876..eea3f50743d5 100644 --- a/arch/arm/vfp/vfpmodule.c +++ b/arch/arm/vfp/vfpmodule.c | |||
| @@ -323,6 +323,7 @@ static int __init vfp_init(void) | |||
| 323 | * we just need to read the VFPSID register. | 323 | * we just need to read the VFPSID register. |
| 324 | */ | 324 | */ |
| 325 | vfp_vector = vfp_testing_entry; | 325 | vfp_vector = vfp_testing_entry; |
| 326 | barrier(); | ||
| 326 | vfpsid = fmrx(FPSID); | 327 | vfpsid = fmrx(FPSID); |
| 327 | barrier(); | 328 | barrier(); |
| 328 | vfp_vector = vfp_null_entry; | 329 | vfp_vector = vfp_null_entry; |
