[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] x86/mm: fix parens in mm lock level check
# HG changeset patch # User Tim Deegan <tim@xxxxxxx> # Date 1334845844 -3600 # Node ID d1b0a8a84ccf3a7eed25996adf2e67916b8081da # Parent 4b1d80d52ced6a86032d37f74cec1af62d63a4c1 x86/mm: fix parens in mm lock level check Signed-off-by: Tim Deegan <tim@xxxxxxx> Acked-by: Andres Lagar-Cavilla <andres@xxxxxxxxxxxxxxxx> Committed-by: Tim Deegan <tim@xxxxxxx> --- diff -r 4b1d80d52ced -r d1b0a8a84ccf xen/arch/x86/mm/mm-locks.h --- a/xen/arch/x86/mm/mm-locks.h Wed Apr 18 16:43:13 2012 +0100 +++ b/xen/arch/x86/mm/mm-locks.h Thu Apr 19 15:30:44 2012 +0100 @@ -49,7 +49,7 @@ static inline int mm_locked_by_me(mm_loc * where the offending locks are declared. */ #define __check_lock_level(l) \ do { \ - if ( unlikely(__get_lock_level()) > (l) ) \ + if ( unlikely(__get_lock_level() > (l)) ) \ { \ printk("mm locking order violation: %i > %i\n", \ __get_lock_level(), (l)); \ _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |