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)
commit8f243af42adef5f589b8e39656284ca9c9374e44
tree9da2b6a244968b625c14538aa165615f2ac070c8
parentc7fd5bc77e9dc8da74bf833d9312076a86d2823e
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