]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sections: fix const sections for crc32 table
authorJoe Mario <jmario@redhat.com>
Wed, 26 Sep 2012 01:34:11 +0000 (11:34 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 27 Sep 2012 07:27:30 +0000 (17:27 +1000)
commit5fab9521a2dd29199d1ac82008ea7918fa08cee6
tree1b4ccc56de474c580785adb47bebe19d05b9ab3d
parentaa2696645cc9064b58a38a2d12888bab2cd3f0ea
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