]> 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>
Fri, 28 Sep 2012 06:08:00 +0000 (16:08 +1000)
commit79f32bd8b2f113d99e060c95cf7423587dc6264f
tree834127b41176f5068b1d96b85479ee44238bb1e2
parent3ccc32f726bbee971dd6b129b00f7cdf967cb0cd
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