lkml.org 
[lkml]   [2011]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -next] x86: perf_event_amd.c needs <asm/apicdef.h>

* Randy Dunlap <rdunlap@xenotime.net> wrote:

> From: Randy Dunlap <rdunlap@xenotime.net>
>
> Fix build error by adding <asm/apicdef.h> header file:
>
> arch/x86/kernel/cpu/perf_event_amd.c:350:2: error: 'BAD_APICID' undeclared (first use in this function)
>
> Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
> ---
>
> Found in linux-next and patch only applies cleanly to linux-next,
> but looks like mainline could use a similar patch (with more
> header files).
>
> arch/x86/kernel/cpu/perf_event_amd.c | 1 +
> 1 file changed, 1 insertion(+)

Applied to tip:perf/core, thanks Randy!

Ingo


\
 
 \ /
  Last update: 2011-09-28 09:01    [W:0.045 / U:0.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site