holly.c (712cba5d87a6c0e980ee5fad45734e189c4d7151) holly.c (61a92f703120daf7ed25e046275aa8a2d3085ad4)
1/*
2 * Board setup routines for the IBM 750GX/CL platform w/ TSI10x bridge
3 *
4 * Copyright 2007 IBM Corporation
5 *
6 * Stephen Winiecki <stevewin@us.ibm.com>
7 * Josh Boyer <jwboyer@linux.vnet.ibm.com>
8 *

--- 249 unchanged lines hidden (view full) ---

258static int ppc750_machine_check_exception(struct pt_regs *regs)
259{
260 const struct exception_table_entry *entry;
261
262 /* Are we prepared to handle this fault */
263 if ((entry = search_exception_tables(regs->nip)) != NULL) {
264 tsi108_clear_pci_cfg_error();
265 regs->msr |= MSR_RI;
1/*
2 * Board setup routines for the IBM 750GX/CL platform w/ TSI10x bridge
3 *
4 * Copyright 2007 IBM Corporation
5 *
6 * Stephen Winiecki <stevewin@us.ibm.com>
7 * Josh Boyer <jwboyer@linux.vnet.ibm.com>
8 *

--- 249 unchanged lines hidden (view full) ---

258static int ppc750_machine_check_exception(struct pt_regs *regs)
259{
260 const struct exception_table_entry *entry;
261
262 /* Are we prepared to handle this fault */
263 if ((entry = search_exception_tables(regs->nip)) != NULL) {
264 tsi108_clear_pci_cfg_error();
265 regs->msr |= MSR_RI;
266 regs->nip = entry->fixup;
266 regs->nip = extable_fixup(entry);
267 return 1;
268 }
269 return 0;
270}
271
272define_machine(holly){
273 .name = "PPC750 GX/CL TSI",
274 .probe = holly_probe,
275 .setup_arch = holly_setup_arch,
276 .init_IRQ = holly_init_IRQ,
277 .show_cpuinfo = holly_show_cpuinfo,
278 .get_irq = mpic_get_irq,
279 .restart = holly_restart,
280 .calibrate_decr = generic_calibrate_decr,
281 .machine_check_exception = ppc750_machine_check_exception,
282 .progress = udbg_progress,
283};
267 return 1;
268 }
269 return 0;
270}
271
272define_machine(holly){
273 .name = "PPC750 GX/CL TSI",
274 .probe = holly_probe,
275 .setup_arch = holly_setup_arch,
276 .init_IRQ = holly_init_IRQ,
277 .show_cpuinfo = holly_show_cpuinfo,
278 .get_irq = mpic_get_irq,
279 .restart = holly_restart,
280 .calibrate_decr = generic_calibrate_decr,
281 .machine_check_exception = ppc750_machine_check_exception,
282 .progress = udbg_progress,
283};