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

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

28#include <linux/init.h>
29#include <linux/module.h>
30#include <linux/prctl.h>
31#include <linux/delay.h>
32#include <linux/kprobes.h>
33#include <linux/kexec.h>
34#include <linux/backlight.h>
35#include <linux/bug.h>
1/*
2 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org)
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version
7 * 2 of the License, or (at your option) any later version.
8 *

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

28#include <linux/init.h>
29#include <linux/module.h>
30#include <linux/prctl.h>
31#include <linux/delay.h>
32#include <linux/kprobes.h>
33#include <linux/kexec.h>
34#include <linux/backlight.h>
35#include <linux/bug.h>
36#include <linux/kdebug.h>
36
37
37#include <asm/kdebug.h>
38#include <asm/pgtable.h>
39#include <asm/uaccess.h>
40#include <asm/system.h>
41#include <asm/io.h>
42#include <asm/machdep.h>
43#include <asm/rtas.h>
44#include <asm/pmc.h>
45#ifdef CONFIG_PPC32

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

67EXPORT_SYMBOL(__debugger_ipi);
68EXPORT_SYMBOL(__debugger_bpt);
69EXPORT_SYMBOL(__debugger_sstep);
70EXPORT_SYMBOL(__debugger_iabr_match);
71EXPORT_SYMBOL(__debugger_dabr_match);
72EXPORT_SYMBOL(__debugger_fault_handler);
73#endif
74
38#include <asm/pgtable.h>
39#include <asm/uaccess.h>
40#include <asm/system.h>
41#include <asm/io.h>
42#include <asm/machdep.h>
43#include <asm/rtas.h>
44#include <asm/pmc.h>
45#ifdef CONFIG_PPC32

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

67EXPORT_SYMBOL(__debugger_ipi);
68EXPORT_SYMBOL(__debugger_bpt);
69EXPORT_SYMBOL(__debugger_sstep);
70EXPORT_SYMBOL(__debugger_iabr_match);
71EXPORT_SYMBOL(__debugger_dabr_match);
72EXPORT_SYMBOL(__debugger_fault_handler);
73#endif
74
75ATOMIC_NOTIFIER_HEAD(powerpc_die_chain);
76
77int register_die_notifier(struct notifier_block *nb)
78{
79 return atomic_notifier_chain_register(&powerpc_die_chain, nb);
80}
81EXPORT_SYMBOL(register_die_notifier);
82
83int unregister_die_notifier(struct notifier_block *nb)
84{
85 return atomic_notifier_chain_unregister(&powerpc_die_chain, nb);
86}
87EXPORT_SYMBOL(unregister_die_notifier);
88
89/*
90 * Trap & Exception support
91 */
92
93#ifdef CONFIG_PMAC_BACKLIGHT
94static void pmac_backlight_unblank(void)
95{
96 mutex_lock(&pmac_backlight_mutex);

--- 1040 unchanged lines hidden ---
75/*
76 * Trap & Exception support
77 */
78
79#ifdef CONFIG_PMAC_BACKLIGHT
80static void pmac_backlight_unblank(void)
81{
82 mutex_lock(&pmac_backlight_mutex);

--- 1040 unchanged lines hidden ---