Allow multiple inclusion of trap.h. This has always been broken, but
until recently never caused problems.
This commit is contained in:
parent
84886cd55f
commit
dc06a3cb59
@ -6,7 +6,3 @@
|
||||
#include <machine/trap_booke.h>
|
||||
#endif
|
||||
|
||||
#ifndef LOCORE
|
||||
struct trapframe;
|
||||
void trap(struct trapframe *);
|
||||
#endif
|
||||
|
@ -119,4 +119,9 @@
|
||||
#define EXC_PGM_PRIV (1UL << 18)
|
||||
#define EXC_PGM_TRAP (1UL << 17)
|
||||
|
||||
#ifndef LOCORE
|
||||
struct trapframe;
|
||||
void trap(struct trapframe *);
|
||||
#endif
|
||||
|
||||
#endif /* _POWERPC_TRAP_H_ */
|
||||
|
@ -52,4 +52,9 @@
|
||||
|
||||
#define EXC_LAST 255
|
||||
|
||||
#ifndef LOCORE
|
||||
struct trapframe;
|
||||
void trap(struct trapframe *);
|
||||
#endif
|
||||
|
||||
#endif /* _POWERPC_TRAP_H_ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user