]> git.baikalelectronics.ru Git - kernel.git/commit
sections: fix const sections for crc32 table
authorJoe Mario <jmario@redhat.com>
Fri, 5 Oct 2012 00:12:15 +0000 (17:12 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 5 Oct 2012 18:04:46 +0000 (03:04 +0900)
commit4195102eb1ac65bed474680ef9046a4da0f6702a
tree9da2b6a244968b625c14538aa165615f2ac070c8
parented2ca37e7670b5ab690d3266b6bbf5a572068a25
sections: fix const sections for crc32 table

Fix the const sections for the code generated by crc32 table.  There's
no ro version of the cacheline aligned section, so we cannot put in
const data without a conflict Just don't make the crc tables const for
now.

[ak@linux.intel.com: some fixes and new description]
[akpm@linux-foundation.org: checkpatch fixes]
Signed-off-by: Joe Mario <jmario@redhat.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/crc32.c
lib/gen_crc32table.c