Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753028AbbFEW5a (ORCPT ); Fri, 5 Jun 2015 18:57:30 -0400 Received: from mail-bn1bn0107.outbound.protection.outlook.com ([157.56.110.107]:59723 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751411AbbFEW51 (ORCPT ); Fri, 5 Jun 2015 18:57:27 -0400 Authentication-Results: spf=none (sender IP is 165.204.84.221) smtp.mailfrom=amd.com; 01.org; dkim=none (message not signed) header.d=none; X-WSS-ID: 0NPHUFM-07-F69-02 X-M-MSG: From: Aravind Gopalakrishnan To: , , CC: , , , Subject: [PATCH] EDAC, mce_amd_inj: Include irq_vectors header to fix build errors Date: Fri, 5 Jun 2015 18:07:34 -0500 Message-ID: <1433545654-24450-1-git-send-email-Aravind.Gopalakrishnan@amd.com> X-Mailer: git-send-email 2.4.0 MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11FD053;1:3ZLrbmHWcw4o1I9Ydk2ZmKk8+XQRh/mcuksZen7P8Ly1E+l058fswHV0Jv2NRprJhocT5AOtaww6ZaejkVY8d/GNg/UvuKYWS6XcoKYttGCI6Knjmd0ksSXEcB5LRRCfApI3FrGL32o8XVyB4IvcvxaVHncHeTHefiUbDg8jAeJphI+JaR/vwxVuJkVnsJRn2nmTrxwD2df8288W5FJSTxygcSG29F+dNj2fW5E4OwQKWvcaPl8tpg2cvNDHc1nuXJ0EXv3xoxr1nm0vpyjQOomsjhJpceGuXNf239JVYfmcTD/gJ+PQdsG105vBpBTPLEJLis9A1tQUDWfHPcm91nxQbMzh4dFeMTp2l0ySK+E= X-Forefront-Antispam-Report: CIP:165.204.84.221;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10019020)(6009001)(428002)(189002)(199003)(50986999)(47776003)(5001770100001)(189998001)(19580395003)(19580405001)(62966003)(77156002)(50226001)(48376002)(46102003)(77096005)(106466001)(229853001)(101416001)(92566002)(86362001)(2201001)(53416004)(50466002)(87936001)(36756003);DIR:OUT;SFP:1102;SCL:1;SRVR:BY2PR02MB076;H:atltwp01.amd.com;FPR:;SPF:None;MLV:sfv;MX:1;A:1;LANG:en; X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR02MB076; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(520003)(5005006)(3002001);SRVR:BY2PR02MB076;BCL:0;PCL:0;RULEID:;SRVR:BY2PR02MB076; X-Forefront-PRVS: 05986C03E0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jun 2015 22:57:23.2551 (UTC) X-MS-Exchange-CrossTenant-Id: fde4dada-be84-483f-92cc-e026cbee8e96 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fde4dada-be84-483f-92cc-e026cbee8e96;Ip=[165.204.84.221];Helo=[atltwp01.amd.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR02MB076 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1229 Lines: 37 Even though !CONFIG_SMP and MCE injection are practically mutually exclusive, it's better to include irq_vectors.h just in case randconfig builders out there don't set CONFIG_SMP. When that happens, DEFERRED_ERROR_VECTOR and THRESHOLD_APIC_VECTOR macro definitions go out of scope and kernel build will fail. Tested the .config that broke the build against latest tip with changes in for-next branch of bp.git and it builds fine now. Reported-by: kbuild test robot Cc: kbuild-all@01.org Signed-off-by: Aravind Gopalakrishnan --- drivers/edac/mce_amd_inj.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/edac/mce_amd_inj.c b/drivers/edac/mce_amd_inj.c index 3f7217f..3e1b53f 100644 --- a/drivers/edac/mce_amd_inj.c +++ b/drivers/edac/mce_amd_inj.c @@ -18,6 +18,7 @@ #include #include #include +#include #include "mce_amd.h" -- 2.4.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/