From: Wolfgang Denk Date: Tue, 21 Dec 2010 14:49:08 +0100 Subject: [U-Boot] [PATCH v2] microblaze: Disabling interrupt should return 1 if was enabled In-Reply-To: <1292936565-24677-1-git-send-email-monstr@monstr.eu> References: <1292936565-24677-1-git-send-email-monstr@monstr.eu> Message-ID: <20101221134908.3B134126EB19@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Michal Simek, In message <1292936565-24677-1-git-send-email-monstr@monstr.eu> you wrote: > Microblaze implement enable/disable interrupts through MSR > that's why disable_interrupts function should return 1 when interrupt > was enabled. Return 0 when interrupt was disabled. > > Signed-off-by: John Linn > Signed-off-by: Michal Simek > --- > arch/microblaze/cpu/interrupts.c | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) Acked-by: Wolfgang Denk Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "Have you lived in this village all your life?" "No, not yet."