VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Yoshinori Sato <ysato@users.sourceforge.jp> 2016-01-15 23:51:51 +0900 committer: Yoshinori Sato <ysato@users.sourceforge.jp> 2016-01-20 23:28:01 +0900 commit: 2f1b0077a9604eda130ffb0313c2f1e9db424269 parent: bf24eec39a6b0df1fcc1ff92db39fe2f2a60f737
Commit Summary:
h8300: System call entry enable interrupt.
Diffstat:
1 file changed, 1 insertion, 0 deletions
diff --git a/arch/h8300/kernel/entry.S b/arch/h8300/kernel/entry.S
index 2f045b674877..4f67d4b350d5 100644
--- a/arch/h8300/kernel/entry.S
+++ b/arch/h8300/kernel/entry.S
@@ -246,6 +246,7 @@ _system_call:
 	/* save top of frame */
 	mov.l	sp,er0
 	jsr	@set_esp0
+	andc	#0x3f,ccr
 	mov.l	sp,er2
 	and.w	#0xe000,r2
 	mov.l	@(TI_FLAGS:16,er2),er2