mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 08:16:41 +07:00
[PATCH] m68knommu: make enable_irq() macro statement
Change enable_irq() macro to be a statement, not expression. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
afd1b836a0
commit
091487772c
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user