patch-2.3.99-pre4 linux/arch/sh/kernel/irq.c

Next file: linux/arch/sh/kernel/irq_imask.c
Previous file: linux/arch/sh/kernel/head.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre3/linux/arch/sh/kernel/irq.c linux/arch/sh/kernel/irq.c
@@ -1,4 +1,4 @@
-/* $Id: irq.c,v 1.11 2000/02/29 11:03:40 gniibe Exp $
+/* $Id: irq.c,v 1.12 2000/03/06 14:07:50 gniibe Exp $
  *
  * linux/arch/sh/kernel/irq.c
  *
@@ -238,11 +238,11 @@
 	regs.syscall_nr = -1;	/* It's not system call */
 
 	/* Get IRQ number */
-	asm volatile("stc	r2_bank,%0\n\t"
+	asm volatile("stc	$r2_bank, %0\n\t"
 		     "shlr2	%0\n\t"
 		     "shlr2	%0\n\t"
 		     "shlr	%0\n\t"
-		     "add	#-16,%0\n\t"
+		     "add	#-16, %0\n\t"
 		     :"=z" (irq));
 
 	kstat.irqs[cpu][irq]++;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)