History

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

Joe Perches committed 12 years ago

Commit ce85b4f1 parent 40322762 files · +10 −17Browse files

Showing the changes to include (1 of 2 files). Show all

Unified · Split

include/linux/interrupt.h+1−1
@@ -360,7 +360,7 @@ enum · 359 unmodified lines
360/* map softirq index to softirq name. update 'softirq_to_name' in360/* 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 */
363extern char *softirq_to_name[NR_SOFTIRQS];363extern const char * const softirq_to_name[NR_SOFTIRQS];
364 364
365/* softirq mask and active fields moved to irq_cpustat_t in365/* softirq mask and active fields moved to irq_cpustat_t in
366 * asm/hardirq.h to get better cache usage. KAO366 * asm/hardirq.h to get better cache usage. KAO