diff --git a/[refs] b/[refs] index 9147f67115c7..5722297d9a25 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 196a15b4ee99f627fbc2c07e58e14aab2065fa80 +refs/heads/master: 0b2749aa6ca40ff3fe12ebb3fdf010ebad2e9085 diff --git a/trunk/include/linux/kernel.h b/trunk/include/linux/kernel.h index a93cdd031aee..910db75b1a72 100644 --- a/trunk/include/linux/kernel.h +++ b/trunk/include/linux/kernel.h @@ -251,10 +251,10 @@ extern int printk_delay_msec; * Print a one-time message (analogous to WARN_ONCE() et al): */ #define printk_once(x...) ({ \ - static bool __print_once = true; \ + static bool __print_once; \ \ - if (__print_once) { \ - __print_once = false; \ + if (!__print_once) { \ + __print_once = true; \ printk(x); \ } \ })