/* * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version. * * Modified by Cort Dougan (cort@cs.nmt.edu) * and Paul Mackerras (paulus@samba.org) *//* * This file handles the architecture-dependent parts of hardware exceptions */#include<linux/errno.h>#include<linux/sched.h>#include<linux/kernel.h>#include<linux/mm.h>#include<linux/stddef.h>#include<linux/unistd.h>#include<linux/ptrace.h>#include<linux/user.h>#include<linux/interrupt.h>#include<linux/init.h>#include<linux/module.h>#include<linux/prctl.h>#include<linux/delay.h>#include<linux/kprobes.h>#include<linux/kexec.h>#include<linux/backlight.h>#include<linux/bug.h>#include<linux/kdebug.h>#include<linux/debugfs.h>#include<asm/emulated_ops.h>#include<asm/pgtable.h>#include<asm/uaccess.h>#include<asm/system.h>#include<asm/io.h>#include<asm/machdep.h>#include<asm/rtas.h>#include<asm/pmc.h>#ifdef CONFIG_PPC32#include<asm/reg.h>#endif#ifdef CONFIG_PMAC_BACKLIGHT#include<asm/backlight.h>#endif#ifdef CONFIG_PPC64#include<asm/firmware.h>#include<asm/processor.h>#endif#include<asm/kexec.h>#include<asm/ppc-opcode.h>#ifdef CONFIG_FSL_BOOKE#include<asm/dbell.h>#endif#if defined(CONFIG_DEBUGGE