traps.c (712cba5d87a6c0e980ee5fad45734e189c4d7151) traps.c (61a92f703120daf7ed25e046275aa8a2d3085ad4)
1/*
2 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
3 * Copyright 2007-2010 Freescale Semiconductor, Inc.
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version
8 * 2 of the License, or (at your option) any later version.

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

360 unsigned int rb;
361
362 --nip;
363 rb = (*nip >> 11) & 0x1f;
364 printk(KERN_DEBUG "%s bad port %lx at %p\n",
365 (*nip & 0x100)? "OUT to": "IN from",
366 regs->gpr[rb] - _IO_BASE, nip);
367 regs->msr |= MSR_RI;
1/*
2 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
3 * Copyright 2007-2010 Freescale Semiconductor, Inc.
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version
8 * 2 of the License, or (at your option) any later version.

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

360 unsigned int rb;
361
362 --nip;
363 rb = (*nip >> 11) & 0x1f;
364 printk(KERN_DEBUG "%s bad port %lx at %p\n",
365 (*nip & 0x100)? "OUT to": "IN from",
366 regs->gpr[rb] - _IO_BASE, nip);
367 regs->msr |= MSR_RI;
368 regs->nip = entry->fixup;
368 regs->nip = extable_fixup(entry);
369 return 1;
370 }
371 }
372#endif /* CONFIG_PPC32 */
373 return 0;
374}
375
376#ifdef CONFIG_PPC_ADV_DEBUG_REGS

--- 1681 unchanged lines hidden ---
369 return 1;
370 }
371 }
372#endif /* CONFIG_PPC32 */
373 return 0;
374}
375
376#ifdef CONFIG_PPC_ADV_DEBUG_REGS

--- 1681 unchanged lines hidden ---