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
360360 /* map softirq index to softirq name. update 'softirq_to_name' in
361361 * kernel/softirq.c when adding a new softirq.
362362 */
363−extern char *softirq_to_name[NR_SOFTIRQS];
363+extern const char * const softirq_to_name[NR_SOFTIRQS];
364364
365365 /* softirq mask and active fields moved to irq_cpustat_t in
366366 * asm/hardirq.h to get better cache usage. KAO

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t