]> git.hungrycats.org Git - linux/commit
Make "static const" initializer to zero explicit, since truly
authorLinus Torvalds <torvalds@home.osdl.org>
Tue, 5 Aug 2003 03:13:37 +0000 (20:13 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Tue, 5 Aug 2003 03:13:37 +0000 (20:13 -0700)
commitbec09e25a3fced489ee1ae7a10609d77be1e2fb4
tree781427fe7027055c1f627f20408bbe6954065862
parent22e370b94dd09804c162943778320b2110920e4c
Make "static const" initializer to zero explicit, since truly
constant values should not end up in the BSS.

We're better off having the compiler put it in the .rodata
section (which it will, thanks to the initializer and the
"const"), since that will result in it being nicely cacheable
in shared SMP caches.
mm/shmem.c