]> git.baikalelectronics.ru Git - kernel.git/commit
arm64/include/asm: Fixed a warning about 'struct pt_regs'
authorChunyan Zhang <chunyan.zhang@spreadtrum.com>
Thu, 4 Dec 2014 06:29:35 +0000 (06:29 +0000)
committerWill Deacon <will.deacon@arm.com>
Thu, 4 Dec 2014 10:10:59 +0000 (10:10 +0000)
commitaaf6cf11b59880fb28e8e1e377c03129c5f4125b
tree208678497481c9d6dcb43ec8f72c8d26a0853b1e
parent5edb995bdd808da9a46df0f27b903e077c27ba4d
arm64/include/asm: Fixed a warning about 'struct pt_regs'

If I include asm/irq.h on the top of my code, and set ARCH=arm64,
I'll get a compile warning, details are below:
warning: ‘struct pt_regs’
declared inside parameter list [enabled by default]

This patch is suggested by Arnd, see:
http://lists.infradead.org/pipermail/linux-arm-kernel/2014-December/308270.html

Signed-off-by: Chunyan Zhang <chunyan.zhang@spreadtrum.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/irq.h