From 75f2b0b0ef652dfefda489330c09a00601b7c203 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 22 Nov 1999 13:12:48 +0000 Subject: Small patch (rtems-rc-19991117-5.diff) from Ralf Corsepius to correct the constraints on the inline assembly language macro for sh_disable_interrupt. --- cpukit/score/cpu/sh/rtems/score/sh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/score/cpu/sh/rtems/score/sh.h') diff --git a/cpukit/score/cpu/sh/rtems/score/sh.h b/cpukit/score/cpu/sh/rtems/score/sh.h index f09d1d66c2..4417e6a99d 100644 --- a/cpukit/score/cpu/sh/rtems/score/sh.h +++ b/cpukit/score/cpu/sh/rtems/score/sh.h @@ -77,7 +77,7 @@ extern "C" { asm volatile ( \ "stc sr,%0\n\t" \ "ldc %1,sr\n\t"\ - : "=r" (_level ) \ + : "=&r" (_level ) \ : "r" (SH_IRQDIS_VALUE) ); #define sh_enable_interrupts( _level ) \ -- cgit v1.2.3