Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Xen: Changelog

[xen-unstable] x86/mm: fix parens in mm lock level check

 

 

Xen changelog RSS feed   Index | Next | Previous | View Threaded


patchbot at xen

Apr 20, 2012, 7:00 PM

Post #1 of 1 (98 views)
Permalink
[xen-unstable] x86/mm: fix parens in mm lock level check

# HG changeset patch
# User Tim Deegan <tim [at] xen>
# Date 1334845844 -3600
# Node ID d1b0a8a84ccf3a7eed25996adf2e67916b8081da
# Parent 4b1d80d52ced6a86032d37f74cec1af62d63a4c1
x86/mm: fix parens in mm lock level check

Signed-off-by: Tim Deegan <tim [at] xen>
Acked-by: Andres Lagar-Cavilla <andres [at] lagarcavilla>
Committed-by: Tim Deegan <tim [at] xen>
---


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 [at] lists
http://lists.xensource.com/xen-changelog

Xen changelog RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.