This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / arch / arm / mm / blockops.c
index 806c6ee..9982c4c 100644 (file)
@@ -130,7 +130,6 @@ static struct undef_hook blockops_hook __initdata = {
 static int __init blockops_check(void)
 {
        register unsigned int err asm("r4") = 0;
-       unsigned int err_pos = 1;
        unsigned int cache_type;
        int i;
 
@@ -157,8 +156,8 @@ static int __init blockops_check(void)
 
        unregister_undef_hook(&blockops_hook);
 
-       for (i = 0; i < ARRAY_SIZE(func); i++, err_pos <<= 1)
-               printk("%30s: %ssupported\n", func[i], err & err_pos ? "not " : "");
+       for (i = 0; i < ARRAY_SIZE(func); i++, err >>= 1)
+               printk("%30s: %ssupported\n", func[i], err & 1 ? "not " : "");
 
        if ((err & 8) == 0) {
                printk(" --> Using %s block cache invalidate\n",