From: Greg Ungerer Date: Mon, 26 Jun 2006 01:47:35 +0000 (+1000) Subject: [PATCH] m68knommu: make enable_irq() macro statement X-Git-Tag: v2.6.18-rc1~831 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=091487772c3312f3de599d99ca1d73395b54ed61;p=linux-2.6 [PATCH] m68knommu: make enable_irq() macro statement Change enable_irq() macro to be a statement, not expression. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds --- diff --git a/include/asm-m68knommu/irq.h b/include/asm-m68knommu/irq.h index c5247516fc..53557274ee 100644 --- a/include/asm-m68knommu/irq.h +++ b/include/asm-m68knommu/irq.h @@ -83,7 +83,7 @@ extern void (*mach_disable_irq)(unsigned int); /* * Some drivers want these entry points */ -#define enable_irq(x) 0 +#define enable_irq(x) do { } while (0) #define disable_irq(x) do { } while (0) #define disable_irq_nosync(x) disable_irq(x)