From patchwork Tue Sep 1 14:41:11 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yury Norov X-Patchwork-Id: 7105741 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id DEFC7BEEC1 for ; Tue, 1 Sep 2015 14:45:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EBE05201D3 for ; Tue, 1 Sep 2015 14:45:47 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EA30C201CE for ; Tue, 1 Sep 2015 14:45:46 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZWmn4-0005cA-Dy; Tue, 01 Sep 2015 14:44:02 +0000 Received: from mail-bn1on0089.outbound.protection.outlook.com ([157.56.110.89] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZWmn1-0005Wx-IT for linux-arm-kernel@lists.infradead.org; Tue, 01 Sep 2015 14:44:00 +0000 Received: from DM2PR07MB621.namprd07.prod.outlook.com (10.141.177.140) by DM2PR07MB479.namprd07.prod.outlook.com (10.141.159.21) with Microsoft SMTP Server (TLS) id 15.1.256.15; Tue, 1 Sep 2015 14:43:35 +0000 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Yuri.Norov@caviumnetworks.com; arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=caviumnetworks.com; Received: from localhost (91.77.150.194) by DM2PR07MB621.namprd07.prod.outlook.com (10.141.177.140) with Microsoft SMTP Server (TLS) id 15.1.256.15; Tue, 1 Sep 2015 14:41:40 +0000 From: Yury Norov To: , Subject: [PATCH 1/2] arm64: cpufeature.h: resolve hidden header dependencies Date: Tue, 1 Sep 2015 17:41:11 +0300 Message-ID: <1441118472-3513-2-git-send-email-ynorov@caviumnetworks.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1441118472-3513-1-git-send-email-ynorov@caviumnetworks.com> References: <1441118472-3513-1-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 X-Originating-IP: [91.77.150.194] X-ClientProxiedBy: VI1PR06CA0035.eurprd06.prod.outlook.com (25.162.116.173) To DM2PR07MB621.namprd07.prod.outlook.com (10.141.177.140) X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB621; 2:wlgFXdRc/YNj2NABaMTaQ4fD5AXXcO5bLR+28twBy6kFP5MIjB3NIS2WW5UiGaOI+EDhmu/wHtyEtpMjcsplJwDjJQaQ+qZQnB2CfNSxdTpiKH7lpp4ny/79rpojpm+NjeyNKng4E79y5Rg+Zx6pTKec7ExHnQsY333yCL4HvmQ=; 3:uF0uBuhGRxCaeuHCsc0mxG5DIg8yQN8gjbgowqRvX4FRCvBdUUk6LOyeeOc7MrICGH5LfVdvETzpxLFEI3yyKWOT4DwkV/qA8+RFnlr5m3Cn65vLdyrOXb6AH5sd/bLPPPeQHPri8UCMZPwcGXkcxw==; 25:ezpS4cxkxWCe2bMk6xtis+ucZbjoin2bul+dT/Pd/2dmPnCR4pKRJADTYn1neG+xyo+eE8eVb7AT0wXiRDVB+qw12Fxu6DQ00S3QKGWub25AfThvfo6t2lbO+FqMP4rRSECJR9ngvOqBex5vajNdhL7quZOKkCcBE4QwVp0jqhH+2j4A2rd97wEvXJt8lAduXCZif13AY2XYkS1PWyBySkTxcACi6bRAWpmo4uRPubWS+y2oxiIt/wWnwZM+QP11HR8TuhEr4iUqlknC4Kow6w== X-Microsoft-Antispam: UriScan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ppB5LLgSBQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(8121501046)(3002001); SRVR:DM2PR07MB621; BCL:0; PCL:0; RULEID:; SRVR:DM2PR07MB621; X-Forefront-PRVS: 06860EDC7B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(6009001)(199003)(189002)(48376002)(2950100001)(87976001)(62966003)(4001540100001)(189998001)(50466002)(81156007)(68736005)(76176999)(66066001)(5007970100001)(5001860100001)(5003940100001)(92566002)(64706001)(5001770100001)(50986999)(101416001)(107886002)(97736004)(36756003)(47776003)(50226001)(19580395003)(19580405001)(5001830100001)(5001960100002)(42186005)(33646002)(229853001)(77156002)(77096005)(122386002)(5004730100002)(76506005)(40100003)(106356001)(46102003)(105586002)(4001430100001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR07MB621; H:localhost; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:; Received-SPF: None (protection.outlook.com: caviumnetworks.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR07MB621; 23:Eysd4t1YdDfXtx9BNejRhvBiKvLoiTNkiIY+kcycNa?= =?us-ascii?Q?l/smWt0QCb3w13nbQgh6ir5fxcDy3/QF2NMEVnRyJPc2gysmWq78AKSKkg0Q?= =?us-ascii?Q?UDeZnTdNPKMnfSaQVwOgCZb4Clb5Q6G/g2NzPjLCc/piMXAxYXe6Hq9GzQX6?= =?us-ascii?Q?uytk5T+ZG5IYcE2gNGhqAxeiCKwOFurCYCQWxhRPgDJUFz14WaxgAVNTgbmL?= =?us-ascii?Q?gLuRHZ8mGSMnSEWWz3dR1KO/D7pGUHKFKRd+tWeFxRUxli12BzZs1UgXYWYW?= =?us-ascii?Q?KTew/4I7YXei/hjlr8qjp/NwJEfxkdakJFpIpkRrmjPpaMh5bBSdK5Rk2Cpo?=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fgiWP8UsrKNQ=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB621; 5:my4vHcMmNnxlvN0S+RJNzDTjFNkKPxyjpllgd+eyZBq8tazgP0q7oLSx5W1fPMUuU9bwQ8jhQCB1fDC3Wd97javGDATLvsGIU+oPCd+OO11P/XQmou9y6CFIpICoEjPove/5iEkmW7OOhrQ/c4A5XA==; 24:qIyP65AXkkOnYGX7B4TJk83cFyIsaiSVkf9ZXjv0ElGeihkrVEhdimwBujhMFwb8Mla9lltJXTupYikUu0SaPJy/KedwWGOem7dWSD0F8LE=; 20:maMgV5D01aS4fBPLna8VpOO2zjOWNSb5q4Lx3WH98uh7GwkwVIApyenu3E4lbD5v8peir9BBZMZE18F3vikf1g== SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2015 14:41:40.8665 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR07MB621 X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB479; 2:KbvJmL0BgxetD+o118pUOWUdZpAsjS3K02fhbufDrzTGAYqbUDDZi5neXfSM2cn/CG/T2ak36Cb3apvW42LFMleWPw4mxwbMKPmdIWp8LH/B0MO9gsv3rBJgNRSfpdTvU3ALPvtv8xTifm/HC/tZOpHQoAtPOCU3H0jIWd7ubXU=; 3:3iUhLnLt6zrVb9hUUSTsHRTbIypwB7yMhEWYoj7/Ob2aG1CvRrHP8NPgN3m2ILMys0yAXZ+bNopAtDjhKkSkVMKbFL+wMd1w7tI7XUMhjpgqo8fsCg9xcZP6wPVtgNfi/y6G9I31R4LvZp9T6a6cgw==; 25:qSvF0eLVf65c4AWDQREAYJI9dv+mYH96ZHWxq31BgkWHbASJQGz/vyfy4g7pN2b4L8pP2Iga791GpHsiWtog9e6mi5po/i1LM5uWh7H1ocsW7JvBzbPE+v7Yl0uBSzA57YE1tRWiD0GxDacvI2/p5GHkDyV/DiTuk13piSJyH954MDSrB9voF2yGGvfXW4LBMp7vvkpkiri0UFvwIzyP8a2VpJWpxAMRC7LPMiwfigoHPPHf7ETRlxiWXdftXMfTyvI5vqRYQSQB3rK+rEIY7g==; 23:LJVcwSomjV5alPw3HKCwxZ1SZxzyetS8RcBEsJSlBloTlXE5bgcOnlEP22Xqk2lcAu2ZVYvdEc+OY1Dqqu2Gv8o+MDOL808ybhpvnWCIkqbMV4Uoje/wxtT7CxZ8j+Z8Xzk3chxlT3i4x0KYAYhzqp8zRZkI6IZYmUjUChpJdYnKYI4QFABRSlKnGJoxSQYK X-OriginatorOrg: caviumnetworks.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150901_074359_878502_9723E9C2 X-CRM114-Status: UNSURE ( 6.33 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Yury Norov , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, ddaney@caviumnetworks.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Functions implemented in cpufeature.h depend on some headers, but cpufeature.h does not include them. This may cause build failure if cpufeature.h user does not include that headers by itself. (Like it happens in next patch of this series.) Signed-off-by: Yury Norov --- arch/arm64/include/asm/cpufeature.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/include/asm/cpufeature.h b/arch/arm64/include/asm/cpufeature.h index c104421..20cdc26 100644 --- a/arch/arm64/include/asm/cpufeature.h +++ b/arch/arm64/include/asm/cpufeature.h @@ -30,6 +30,11 @@ #ifndef __ASSEMBLY__ +#include +#include +#include +#include + struct arm64_cpu_capabilities { const char *desc; u16 capability;