diff options
author | Joe Perches <joe@perches.com> | 2014-01-27 20:07:16 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-28 00:02:40 -0500 |
commit | ce85b4f2eab663dfd4ff2cb5b603ba03f595922e (patch) | |
tree | 46bbedbb7883c93a2b058eb1cb6603ce39789b69 /include/linux/interrupt.h | |
parent | 403227641533c4227d44d14f25c8f3676f6e7436 (diff) |
softirq: use const char * const for softirq_to_name, whitespace neatening
Reduce data size a little.
Reduce checkpatch noise.
$ size kernel/softirq.o*
text data bss dec hex filename
11554 6013 4008 21575 5447 kernel/softirq.o.new
11474 6093 4008 21575 5447 kernel/softirq.o.old
Signed-off-by: Joe Perches <joe@perches.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/interrupt.h')
-rw-r--r-- | include/linux/interrupt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h index db43b58a3355..0053adde0ed9 100644 --- a/include/linux/interrupt.h +++ b/include/linux/interrupt.h | |||
@@ -360,7 +360,7 @@ enum | |||
360 | /* map softirq index to softirq name. update 'softirq_to_name' in | 360 | /* map softirq index to softirq name. update 'softirq_to_name' in |
361 | * kernel/softirq.c when adding a new softirq. | 361 | * kernel/softirq.c when adding a new softirq. |
362 | */ | 362 | */ |
363 | extern char *softirq_to_name[NR_SOFTIRQS]; | 363 | extern const char * const softirq_to_name[NR_SOFTIRQS]; |
364 | 364 | ||
365 | /* softirq mask and active fields moved to irq_cpustat_t in | 365 | /* softirq mask and active fields moved to irq_cpustat_t in |
366 | * asm/hardirq.h to get better cache usage. KAO | 366 | * asm/hardirq.h to get better cache usage. KAO |