X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-powerpc%2Fsiginfo.h;h=12f1bce037be7f57c422b26246b692838b4fbc9d;hb=f1bceb47b3f385d765acac7fe582cb11034dd759;hp=538ea8ef509b99f4d2ec3350d64e12bd27450332;hpb=3874b98c655b9490bea1cf9c7697d5dc5338376f;p=linux-2.6 diff --git a/include/asm-powerpc/siginfo.h b/include/asm-powerpc/siginfo.h index 538ea8ef50..12f1bce037 100644 --- a/include/asm-powerpc/siginfo.h +++ b/include/asm-powerpc/siginfo.h @@ -15,4 +15,12 @@ #include +/* + * SIGTRAP si_codes + */ +#define TRAP_BRANCH (__SI_FAULT|3) /* process taken branch trap */ +#define TRAP_HWBKPT (__SI_FAULT|4) /* hardware breakpoint or watchpoint */ +#undef NSIGTRAP +#define NSIGTRAP 4 + #endif /* _ASM_POWERPC_SIGINFO_H */