]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: guard asm/assembler.h against multiple inclusions
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 20 Feb 2015 13:53:13 +0000 (13:53 +0000)
committerWill Deacon <will.deacon@arm.com>
Mon, 23 Feb 2015 09:13:51 +0000 (09:13 +0000)
commit443bc8ac92309376db2476cb0987b4a911e4d9e3
tree1c70506707b384e4f713582a8226e6e608430dab
parent4ca44469c1bde2aa3adefed08af41ae3275c4629
arm64: guard asm/assembler.h against multiple inclusions

asm/assembler.h lacks the usual guard against multiple inclusion,
leading to a compilation failure if it is accidentally included
twice.

Using the classic #ifndef/#define/#endif construct solves the issue.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/assembler.h