From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751377Ab1I0RAo (ORCPT ); Tue, 27 Sep 2011 13:00:44 -0400 Received: from oproxy3-pub.bluehost.com ([69.89.21.8]:46351 "HELO oproxy3-pub.bluehost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1750965Ab1I0RAm (ORCPT ); Tue, 27 Sep 2011 13:00:42 -0400 Message-ID: <4E820138.90301@xenotime.net> Date: Tue, 27 Sep 2011 10:00:40 -0700 From: Randy Dunlap Organization: YPO4 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.22) Gecko/20110907 SUSE/3.1.14 Thunderbird/3.1.14 MIME-Version: 1.0 To: Stephen Rothwell CC: linux-next@vger.kernel.org, LKML , Robert Richter , Ingo Molnar , Andre Przywara , Andrew Morton Subject: [PATCH -next] x86: perf_event_amd.c needs References: <20110926172348.be01ff9a1c16267ffd000d2a@canb.auug.org.au> In-Reply-To: <20110926172348.be01ff9a1c16267ffd000d2a@canb.auug.org.au> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Identified-User: {1807:box742.bluehost.com:xenotime:xenotime.net} {sentby:smtp auth 50.53.38.135 authed with rdunlap@xenotime.net} Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Randy Dunlap Fix build error by adding 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 --- 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(+) --- next-2011-0927.orig/arch/x86/kernel/cpu/perf_event_amd.c +++ next-2011-0927/arch/x86/kernel/cpu/perf_event_amd.c @@ -2,6 +2,7 @@ #include #include #include +#include #include "perf_event.h"