Commit f8619747 authored by Joe Thornber's avatar Joe Thornber Committed by Linus Torvalds

[PATCH] dm: __LOW macro fix no. 1

Fix __LOW macro.  [Kevin Corry]
parent cd76ac53
...@@ -79,7 +79,7 @@ static unsigned int int_log(unsigned long n, unsigned long base) ...@@ -79,7 +79,7 @@ static unsigned int int_log(unsigned long n, unsigned long base)
} }
#define __HIGH(l, r) if (*(l) < (r)) *(l) = (r) #define __HIGH(l, r) if (*(l) < (r)) *(l) = (r)
#define __LOW(l, r) if (*(l) < (r)) *(l) = (r) #define __LOW(l, r) if (*(l) > (r)) *(l) = (r)
/* /*
* Combine two io_restrictions, always taking the lower value. * Combine two io_restrictions, always taking the lower value.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment