Subversion Repositories shark

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
629 giacomo 1
#ifndef __KERNEL__
2
#define __KERNEL__
3
 
4
#include <linux/compatib.h>
5
#include "ll/sys/cdefs.h"
6
 
7
__BEGIN_DECLS
8
 
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                 */
20
 
21
__END_DECLS
22
#endif