From 8833b50cbf9a89653b1c77f81fc661e59e0cbae4 Mon Sep 17 00:00:00 2001
From: Thomas Chou <thomas@wytron.com.tw>
Date: Sun, 20 Jan 2008 22:26:03 +0800
Subject: [PATCH] nios2: remove last br in inthandler

With current 8 bytes alignment of ENTRY, it is faster to fall through
nop pad. It is safe to remove the last br to ret_from_interrupt.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
---
 linux-2.6.x/arch/nios2nommu/kernel/entry.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/linux-2.6.x/arch/nios2nommu/kernel/entry.S b/linux-2.6.x/arch/nios2nommu/kernel/entry.S
index d8a50c4..14f776a 100644
--- a/linux-2.6.x/arch/nios2nommu/kernel/entry.S
+++ b/linux-2.6.x/arch/nios2nommu/kernel/entry.S
@@ -183,7 +183,7 @@ ENTRY(inthandler)
 	rdctl	r9,ienable		/* Isolate possible interrupts */
 	and	r12,r12,r9
 	bne	r12,r0,2b		
-	br	ret_from_interrupt	
+	/* br	ret_from_interrupt */	/* fall throught to ret_from_interrupt */
 
 ENTRY(ret_from_interrupt)
 	ldw	r4,PT_STATUS_EXTENSION(sp)
-- 
1.5.3.3

