]> 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)
commitbddc679682bbd763e35bd8b5a609cdb35da12781
tree9da2b6a244968b625c14538aa165615f2ac070c8
parent0a23817f734270f6eab6d8a8b8597f8a2967446b
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