diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2013-10-04 05:41:24 -0400 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2013-11-26 05:09:21 -0500 |
commit | abe48101c17eaf1b5d85270272392e6111562626 (patch) | |
tree | 4cf0f060b2e2efcfa41592be6aaf8a427dc09939 /arch/m68k/bvme6000 | |
parent | cf288bd5b122d12476fd7d9825c292daef5dba58 (diff) |
m68k/UAPI: Use proper types (endianness/size) in <asm/bootinfo*.h>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/bvme6000')
-rw-r--r-- | arch/m68k/bvme6000/config.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/m68k/bvme6000/config.c b/arch/m68k/bvme6000/config.c index 4d1b403822fa..478623dbb209 100644 --- a/arch/m68k/bvme6000/config.c +++ b/arch/m68k/bvme6000/config.c | |||
@@ -29,6 +29,7 @@ | |||
29 | 29 | ||
30 | #include <asm/bootinfo.h> | 30 | #include <asm/bootinfo.h> |
31 | #include <asm/bootinfo-vme.h> | 31 | #include <asm/bootinfo-vme.h> |
32 | #include <asm/byteorder.h> | ||
32 | #include <asm/pgtable.h> | 33 | #include <asm/pgtable.h> |
33 | #include <asm/setup.h> | 34 | #include <asm/setup.h> |
34 | #include <asm/irq.h> | 35 | #include <asm/irq.h> |
@@ -53,7 +54,7 @@ static irq_handler_t tick_handler; | |||
53 | 54 | ||
54 | int __init bvme6000_parse_bootinfo(const struct bi_record *bi) | 55 | int __init bvme6000_parse_bootinfo(const struct bi_record *bi) |
55 | { | 56 | { |
56 | if (bi->tag == BI_VME_TYPE) | 57 | if (be16_to_cpu(bi->tag) == BI_VME_TYPE) |
57 | return 0; | 58 | return 0; |
58 | else | 59 | else |
59 | return 1; | 60 | return 1; |