Roland Dreier
7086745309
printk_once(): use bool for boolean flag
...
Using the type bool (instead of int) for the __print_once flag in the
printk_once() macro matches the intent of the code better, and allows the
compiler to generate smaller code; eg a typical callsite with gcc 4.3.3 on
i386:
add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-6 (-6)
function old new delta
static.__print_once 4 1 -3
get_cpu_vendor 146 143 -3
Saving 6 bytes of object size per callsite by slightly improving the
readability of the source seems like a win to me.
Signed-off-by: Roland Dreier <rolandd@cisco.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2009-09-23 07:39:29 -07:00
..
2009-09-19 00:51:34 -03:00
2009-09-17 09:47:22 +02:00
2009-09-22 07:54:33 -07:00
2009-09-18 09:47:25 -07:00
2009-09-23 07:39:29 -07:00
2009-09-17 09:47:05 +02:00
2009-09-15 20:49:33 -04:00
2009-09-19 13:13:33 -07:00
2009-09-20 16:09:20 +05:30
2009-09-15 09:50:47 -07:00
2009-09-16 15:18:52 +02:00
2009-09-22 07:17:38 -07:00
2009-09-21 15:14:51 +02:00
2009-09-23 07:39:29 -07:00
2009-09-23 07:39:28 -07:00
2009-09-19 13:13:31 -07:00
2009-09-18 09:48:52 -07:00
2009-09-19 12:50:38 -07:00
2009-09-22 07:17:47 -07:00
2009-09-22 07:17:25 -07:00
2009-09-18 07:25:44 +02:00
2009-09-20 16:58:35 +05:30
2009-09-22 07:17:25 -07:00
2009-09-22 07:17:38 -07:00
2009-09-19 13:13:31 -07:00
2009-09-17 15:15:11 +02:00
2009-09-22 07:17:42 -07:00
2009-09-19 00:16:14 -03:00
2009-09-21 14:28:04 +02:00
2009-09-16 17:44:10 +02:00
2009-09-23 07:39:29 -07:00
2009-09-19 13:13:17 -07:00
2009-09-23 07:39:27 -07:00
2009-09-15 23:51:31 -04:00
2009-09-22 07:17:33 -07:00
2009-09-18 21:22:08 +02:00
2009-09-22 07:17:48 -07:00
2009-09-23 07:39:28 -07:00
2009-09-22 07:17:35 -07:00
2009-09-19 12:50:38 -07:00
2009-09-21 15:14:56 +02:00
2009-09-22 07:17:37 -07:00
2009-09-22 07:17:41 -07:00
2009-09-22 07:17:42 -07:00
2009-09-22 07:17:31 -07:00
2009-09-22 07:17:39 -07:00
2009-09-18 21:22:08 +02:00
2009-09-21 15:14:51 +02:00
2009-09-17 20:53:52 -07:00
2009-09-22 07:54:33 -07:00
2009-09-22 07:17:38 -07:00
2009-09-20 16:57:50 +05:30
2009-09-22 07:17:38 -07:00
2009-09-17 16:47:06 -04:00
2009-09-15 09:50:48 -07:00
2009-09-15 09:39:44 -07:00
2009-09-21 14:34:11 +02:00
2009-09-21 14:34:11 +02:00
2009-09-22 07:17:49 -07:00
2009-09-22 07:17:47 -07:00
2009-09-21 14:28:04 +02:00
2009-09-22 07:17:24 -07:00
2009-09-19 08:53:22 +02:00
2009-09-19 08:53:22 +02:00
2009-09-19 08:53:22 +02:00
2009-09-22 07:17:31 -07:00
2009-09-22 07:17:45 -07:00
2009-09-19 13:13:19 -07:00
2009-09-19 13:13:32 -07:00
2009-09-19 13:13:30 -07:00
2009-09-15 09:50:49 -07:00
2009-09-22 07:17:25 -07:00
2009-09-21 09:15:07 -07:00
2009-09-18 09:48:52 -07:00
2009-09-16 16:44:33 +02:00
2009-09-15 09:50:47 -07:00
2009-09-19 13:13:35 -07:00
2009-09-21 15:14:54 +02:00
2009-09-19 00:18:36 -03:00
2009-09-22 07:17:30 -07:00
2009-09-19 13:13:25 -07:00
2009-09-19 13:13:26 -07:00
2009-09-21 15:14:53 +02:00
2009-09-16 15:18:52 +02:00