Subversion Repositories Kolibri OS

Rev

Rev 3480 | Rev 3747 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3480 Rev 3482
Line 60... Line 60...
60
 
60
 
61
#define BUILD_BUG_ON_NOT_POWER_OF_2(n)                  \
61
#define BUILD_BUG_ON_NOT_POWER_OF_2(n)                  \
Line -... Line 62...
-
 
62
        BUILD_BUG_ON((n) == 0 || (((n) & ((n) - 1)) != 0))
-
 
63
 
-
 
64
 
-
 
65
#define printk_once(fmt, ...)                   \
-
 
66
({                                              \
-
 
67
        static bool __print_once;               \
-
 
68
                                                \
-
 
69
        if (!__print_once) {                    \
-
 
70
                __print_once = true;            \
-
 
71
                printk(fmt, ##__VA_ARGS__);     \
-
 
72
        }                                       \
-
 
73
})
-
 
74
 
-
 
75
 
62
        BUILD_BUG_ON((n) == 0 || (((n) & ((n) - 1)) != 0))
76
#define pr_warn_once(fmt, ...)                                  \