]> git.karo-electronics.de Git - karo-tx-linux.git/commit
lib/string_helpers.c: make arrays static
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 25 Apr 2012 01:04:34 +0000 (11:04 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 30 Apr 2012 05:17:34 +0000 (15:17 +1000)
commitfd08ed7b2345ec93bbc58fb38106f9bb1d98f2b5
treeba7887f8ae44056dea05275fe75c18c137ecf926
parent899ea36a1473dabe8246fb098877b45c5a9f30a3
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