mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
Replace __attribute_pure__ with __pure
To be consistent with the use of attributes in the rest of the kernel replace all use of __attribute_pure__ with __pure and delete the definition of __attribute_pure__. Signed-off-by: Ralf Baechle <[email protected]> Cc: Russell King <[email protected]> Acked-by: Mauro Carvalho Chehab <[email protected]> Cc: Bryan Wu <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
c80544dc0b
commit
e8c44319c6
8 changed files with 27 additions and 31 deletions
|
|
@ -66,7 +66,7 @@ EXPORT_SYMBOL(crc32c_le);
|
|||
* loop below with crc32 and vary the POLY if we don't find value in terms
|
||||
* of space and maintainability in keeping the two modules separate.
|
||||
*/
|
||||
u32 __attribute_pure__
|
||||
u32 __pure
|
||||
crc32c_le(u32 crc, unsigned char const *p, size_t len)
|
||||
{
|
||||
int i;
|
||||
|
|
@ -160,7 +160,7 @@ static const u32 crc32c_table[256] = {
|
|||
* crc using table.
|
||||
*/
|
||||
|
||||
u32 __attribute_pure__
|
||||
u32 __pure
|
||||
crc32c_le(u32 seed, unsigned char const *data, size_t length)
|
||||
{
|
||||
u32 crc = __cpu_to_le32(seed);
|
||||
|
|
@ -177,7 +177,7 @@ crc32c_le(u32 seed, unsigned char const *data, size_t length)
|
|||
EXPORT_SYMBOL(crc32c_be);
|
||||
|
||||
#if CRC_BE_BITS == 1
|
||||
u32 __attribute_pure__
|
||||
u32 __pure
|
||||
crc32c_be(u32 crc, unsigned char const *p, size_t len)
|
||||
{
|
||||
int i;
|
||||
|
|
|
|||
Loading…
Reference in a new issue