Blackfin arch: dont warn when running a kernel on the oldest supported silicon
authorMike Frysinger <vapier.adi@gmail.com>
Tue, 28 Oct 2008 05:58:15 +0000 (13:58 +0800)
committerBryan Wu <cooloney@kernel.org>
Tue, 28 Oct 2008 05:58:15 +0000 (13:58 +0800)
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/kernel/setup.c

index 8337dc3a62d7b024cf01feab57a70b9e84711e62..71a9a8c53ceab8cd2456f578599267697f3d2bd3 100644 (file)
@@ -827,7 +827,7 @@ void __init setup_arch(char **cmdline_p)
                                printk(KERN_ERR "Warning: Compiled for Rev %d, but running on Rev %d\n",
                                       bfin_compiled_revid(), bfin_revid());
                }
-               if (bfin_revid() <= CONFIG_BF_REV_MIN || bfin_revid() > CONFIG_BF_REV_MAX)
+               if (bfin_revid() < CONFIG_BF_REV_MIN || bfin_revid() > CONFIG_BF_REV_MAX)
                        printk(KERN_ERR "Warning: Unsupported Chip Revision ADSP-%s Rev 0.%d detected\n",
                               CPU, bfin_revid());
        }