Fix IP22 timer calibration.
[linux-2.6/linux-mips.git] / include / asm-mips / traps.h
blob7f00e31e7c4f97b7745030d1e0316706e6f1037b
1 /*
2 * include/asm-mips/traps.h
4 * Trap handling definitions.
6 * Copyright (C) 2002, 2003 Maciej W. Rozycki
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; either version
11 * 2 of the License, or (at your option) any later version.
13 #ifndef __ASM_MIPS_TRAPS_H
14 #define __ASM_MIPS_TRAPS_H
17 * Possible status responses for a board_be_handler backend.
19 #define MIPS_BE_DISCARD 0 /* return with no action */
20 #define MIPS_BE_FIXUP 1 /* return to the fixup code */
21 #define MIPS_BE_FATAL 2 /* treat as an unrecoverable error */
23 extern void (*board_be_init)(void);
24 extern int (*board_be_handler)(struct pt_regs *regs, int is_fixup);
26 #endif /* __ASM_MIPS_TRAPS_H */