]> git.karo-electronics.de Git - karo-tx-linux.git/commit
lib/string_helpers.c: make arrays static
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 3 May 2012 05:44:29 +0000 (15:44 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 3 May 2012 05:46:50 +0000 (15:46 +1000)
commit0e6a1fbc97c92ad39429452f924c85a622117382
tree0424c232d476fea94ef9e0e4458e4e8272f25b5c
parent50b47c39def5569fc0558ae2f98498b94a84521d
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>
lib/string_helpers.c