Rev 3 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | pj | 1 | #ifndef __KERNEL__ |
2 | #define __KERNEL__ |
||
3 | |||
4 | #include <linux/compatib.h> |
||
80 | pj | 5 | #include "ll/sys/cdefs.h" |
2 | pj | 6 | |
80 | pj | 7 | __BEGIN_DECLS |
8 | |||
2 | pj | 9 | /* Optimization barrier */ |
10 | #define barrier() __asm__("": : :"memory") |
||
11 | |||
12 | #define KERN_EMERG "<0>" /* system is unusable */ |
||
13 | #define KERN_ALERT "<1>" /* action must be taken immediately */ |
||
14 | #define KERN_CRIT "<2>" /* critical conditions */ |
||
15 | #define KERN_ERR "<3>" /* error conditions */ |
||
16 | #define KERN_WARNING "<4>" /* warning conditions */ |
||
17 | #define KERN_NOTICE "<5>" /* normal but significant condition */ |
||
18 | #define KERN_INFO "<6>" /* informational */ |
||
19 | #define KERN_DEBUG "<7>" /* debug-level messages */ |
||
80 | pj | 20 | |
21 | __END_DECLS |
||
2 | pj | 22 | #endif |