--- zzzz-none-000/linux-3.10.107/arch/m68k/bvme6000/config.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/arch/m68k/bvme6000/config.c 2021-02-04 17:41:59.000000000 +0000 @@ -28,6 +28,8 @@ #include #include +#include +#include #include #include #include @@ -50,9 +52,9 @@ static irq_handler_t tick_handler; -int bvme6000_parse_bootinfo(const struct bi_record *bi) +int __init bvme6000_parse_bootinfo(const struct bi_record *bi) { - if (bi->tag == BI_VME_TYPE) + if (be16_to_cpu(bi->tag) == BI_VME_TYPE) return 0; else return 1;