summaryrefslogtreecommitdiffstats
path: root/arch/frv/kernel/head.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/frv/kernel/head.S')
-rw-r--r--arch/frv/kernel/head.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/frv/kernel/head.S b/arch/frv/kernel/head.S
index c73b4fe9f6c..29a5265489b 100644
--- a/arch/frv/kernel/head.S
+++ b/arch/frv/kernel/head.S
@@ -513,6 +513,9 @@ __head_mmu_enabled:
movgs gr0,ccr
movgs gr0,cccr
+ # initialise the virtual interrupt handling
+ subcc gr0,gr0,gr0,icc2 /* set Z, clear C */
+
#ifdef CONFIG_MMU
movgs gr3,scr2
movgs gr3,scr3