Merge branch 'x86/urgent' into x86/pat
[linux-2.6.git] / arch / x86 / mm / pageattr-test.c
index 6ae1f28..7c30172 100644 (file)
@@ -224,8 +224,7 @@ static int pageattr_test(void)
        failed += print_split(&sc);
 
        if (failed) {
-               printk(KERN_ERR "NOT PASSED. Please report.\n");
-               WARN_ON(1);
+               WARN(1, KERN_ERR "NOT PASSED. Please report.\n");
                return -EINVAL;
        } else {
                if (print)