diff options
Diffstat (limited to 'arch/ppc/syslib')
-rw-r--r-- | arch/ppc/syslib/i8259.c | 1 | ||||
-rw-r--r-- | arch/ppc/syslib/m8260_setup.c | 13 |
2 files changed, 8 insertions, 6 deletions
diff --git a/arch/ppc/syslib/i8259.c b/arch/ppc/syslib/i8259.c index 1e5a00a4b5f5..559f27c6aefe 100644 --- a/arch/ppc/syslib/i8259.c +++ b/arch/ppc/syslib/i8259.c | |||
@@ -127,6 +127,7 @@ static void i8259_unmask_irq(unsigned int irq_nr) | |||
127 | static struct irq_chip i8259_pic = { | 127 | static struct irq_chip i8259_pic = { |
128 | .typename = " i8259 ", | 128 | .typename = " i8259 ", |
129 | .mask = i8259_mask_irq, | 129 | .mask = i8259_mask_irq, |
130 | .disable = i8259_mask_irq, | ||
130 | .unmask = i8259_unmask_irq, | 131 | .unmask = i8259_unmask_irq, |
131 | .mask_ack = i8259_mask_and_ack_irq, | 132 | .mask_ack = i8259_mask_and_ack_irq, |
132 | }; | 133 | }; |
diff --git a/arch/ppc/syslib/m8260_setup.c b/arch/ppc/syslib/m8260_setup.c index 15f0d7323535..46588fa94381 100644 --- a/arch/ppc/syslib/m8260_setup.c +++ b/arch/ppc/syslib/m8260_setup.c | |||
@@ -25,6 +25,7 @@ | |||
25 | #include <asm/machdep.h> | 25 | #include <asm/machdep.h> |
26 | #include <asm/bootinfo.h> | 26 | #include <asm/bootinfo.h> |
27 | #include <asm/time.h> | 27 | #include <asm/time.h> |
28 | #include <asm/ppc_sys.h> | ||
28 | 29 | ||
29 | #include "cpm2_pic.h" | 30 | #include "cpm2_pic.h" |
30 | 31 | ||
@@ -61,7 +62,7 @@ m8260_setup_arch(void) | |||
61 | #endif | 62 | #endif |
62 | 63 | ||
63 | identify_ppc_sys_by_name_and_id(BOARD_CHIP_NAME, | 64 | identify_ppc_sys_by_name_and_id(BOARD_CHIP_NAME, |
64 | in_be32(CPM_MAP_ADDR + CPM_IMMR_OFFSET)); | 65 | in_be32((void *)CPM_MAP_ADDR + CPM_IMMR_OFFSET)); |
65 | 66 | ||
66 | m82xx_board_setup(); | 67 | m82xx_board_setup(); |
67 | } | 68 | } |
@@ -147,12 +148,12 @@ m8260_show_cpuinfo(struct seq_file *m) | |||
147 | seq_printf(m, "vendor\t\t: %s\n" | 148 | seq_printf(m, "vendor\t\t: %s\n" |
148 | "machine\t\t: %s\n" | 149 | "machine\t\t: %s\n" |
149 | "\n" | 150 | "\n" |
150 | "mem size\t\t: 0x%08x\n" | 151 | "mem size\t\t: 0x%08lx\n" |
151 | "console baud\t\t: %d\n" | 152 | "console baud\t\t: %ld\n" |
152 | "\n" | 153 | "\n" |
153 | "core clock\t: %u MHz\n" | 154 | "core clock\t: %lu MHz\n" |
154 | "CPM clock\t: %u MHz\n" | 155 | "CPM clock\t: %lu MHz\n" |
155 | "bus clock\t: %u MHz\n", | 156 | "bus clock\t: %lu MHz\n", |
156 | CPUINFO_VENDOR, CPUINFO_MACHINE, bp->bi_memsize, | 157 | CPUINFO_VENDOR, CPUINFO_MACHINE, bp->bi_memsize, |
157 | bp->bi_baudrate, bp->bi_intfreq / 1000000, | 158 | bp->bi_baudrate, bp->bi_intfreq / 1000000, |
158 | bp->bi_cpmfreq / 1000000, bp->bi_busfreq / 1000000); | 159 | bp->bi_cpmfreq / 1000000, bp->bi_busfreq / 1000000); |