x86: x86_32 has its own irq_regs definition
authorHarvey Harrison <harvey.harrison@gmail.com>
Mon, 10 Nov 2008 05:28:15 +0000 (21:28 -0800)
committerIngo Molnar <mingo@elte.hu>
Mon, 10 Nov 2008 07:41:47 +0000 (08:41 +0100)
commit19f47c634ea8c5a10ff7bb1a08c52fd0f49bc54c
treed278dcf8ffe87e4ef4b90331dcf60ef323380084
parent87135d92b4ae73208c53242f3cfec5b20b772cb3
x86: x86_32 has its own irq_regs definition

Impact: cleanup

Arches that have their own irq_regs definition are expected to
define ARCH_HAS_OWN_IRQ_REGS or else a generic (unused) set
will also be defined in lib/irq_regs.c

Sparse noticed the unused generic one had no prototype:
lib/irq_regs.c:15:1: warning: symbol 'per_cpu____irq_regs' was not declared. Should it be static?

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/irq_regs_32.h