]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sections: fix const sections for crc32 table
authorJoe Mario <jmario@redhat.com>
Fri, 28 Sep 2012 00:20:10 +0000 (10:20 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Oct 2012 05:03:42 +0000 (15:03 +1000)
commit1baab301046b59939f8c692e6083d80e970c9331
tree1571df5b8345ee0d63925d66ee8572c3d493d4da
parentda3d30529590c72e1fc0a4f353485192f42ac232
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]
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>
lib/crc32.c
lib/gen_crc32table.c