]> git.baikalelectronics.ru Git - kernel.git/commit
lib/string_helpers.c: make arrays static
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 29 May 2012 22:07:32 +0000 (15:07 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 May 2012 23:22:32 +0000 (16:22 -0700)
commitab4d4770c18d31689a1536403c58f6e2a9820330
treebb94a6c90c670f810c7851b586e552140d51a8a0
parent6d8730ff4b5460cbd3a48fce1d01d843e44c6c95
lib/string_helpers.c: make arrays static

Moving these arrays into static storage shrinks the kernel a bit:

   text    data     bss     dec     hex filename
    723     112      64     899     383 lib/string_helpers.o
    516     272      64     852     354 lib/string_helpers.o

Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/string_helpers.c