summaryrefslogtreecommitdiff
path: root/lib/sort.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2015-06-26 01:02:11 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2015-06-26 03:00:40 +0300
commit79e23d577b938d8d79282fd979f4ff3112e1f3f9 (patch)
tree9c5f447cff93c48c80f5e54a171fbb07e0e159d4 /lib/sort.c
parent2528a8b8f457d7432552d0e2b6f0f4046bb702f4 (diff)
downloadlinux-79e23d577b938d8d79282fd979f4ff3112e1f3f9.tar.xz
hexdump: Make test data really const
The test data arrays, containing pointers to test strings, are never modified, so they can be const, too. Hence mark them "const" and "__initconst". This moves 28 pointers from ".init.data" to ".init.rodata". Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Cc: Andi Kleen <ak@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/sort.c')
0 files changed, 0 insertions, 0 deletions