]> git.baikalelectronics.ru Git - kernel.git/commit
s390/compiler.h Fix sparse vs. hotpatch
authorChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 7 Oct 2015 08:54:36 +0000 (10:54 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 14 Oct 2015 12:32:12 +0000 (14:32 +0200)
commit34574d267f10cbf81e076bf4b9c3c9b80c459db0
treeb0791a34b7131dc92963e21ff6ccc5afbca6fd09
parent92a1dc689151a1a5fadb8f6befc0becf91825b3e
s390/compiler.h Fix sparse vs. hotpatch

sparse does not understand the s390 specific hotpatch attribute and
floods the log with messages like
include/uapi/linux/swab.h:92:8: error: attribute 'hotpatch': unknown attribute

Let's just dont use it, if __CHECKER__ is defined.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
include/linux/compiler.h