lkml.org 
[lkml]   [2008]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86: x86_32 has its own irq_regs definition

* Harvey Harrison <harvey.harrison@gmail.com> wrote:

> Impact: prevent second percpu define of unused irq_regs
>
> 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>
> ---
> arch/x86/include/asm/irq_regs_32.h | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)

applied to tip/x86/cleanups, thanks Harvey!

Ingo


\
 
 \ /
  Last update: 2008-11-10 08:45    [W:0.031 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site