Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
bug.h File Reference
#include <linux/linkage.h>
#include <asm-generic/bug.h>

Go to the source code of this file.

Macros

#define TRAPA_BUG_OPCODE   0xc33e /* trapa #0x3e */
 
#define BUGFLAG_UNWINDER   (1 << 1)
 
#define UNWINDER_BUG   BUG
 
#define UNWINDER_BUG_ON   BUG_ON
 

Functions

void die (const char *str, struct pt_regs *regs, long err) __attribute__((noreturn))
 
void die_if_kernel (const char *str, struct pt_regs *regs, long err)
 
void die_if_no_fixup (const char *str, struct pt_regs *regs, long err)
 

Macro Definition Documentation

#define BUGFLAG_UNWINDER   (1 << 1)

Definition at line 7 of file bug.h.

#define TRAPA_BUG_OPCODE   0xc33e /* trapa #0x3e */

Definition at line 6 of file bug.h.

#define UNWINDER_BUG   BUG

Definition at line 105 of file bug.h.

#define UNWINDER_BUG_ON   BUG_ON

Definition at line 106 of file bug.h.

Function Documentation

void die ( const char str,
struct pt_regs regs,
long  err 
)

Definition at line 27 of file traps.c.

void die_if_kernel ( const char str,
struct pt_regs regs,
long  err 
)

Definition at line 207 of file traps.c.

void die_if_no_fixup ( const char str,
struct pt_regs regs,
long  err 
)

Definition at line 69 of file traps.c.