Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753971AbbGWSMv (ORCPT ); Thu, 23 Jul 2015 14:12:51 -0400 Received: from mail-am1on0072.outbound.protection.outlook.com ([157.56.112.72]:63120 "EHLO emea01-am1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752899AbbGWSMt (ORCPT ); Thu, 23 Jul 2015 14:12:49 -0400 Authentication-Results: spf=fail (sender IP is 12.216.194.146) smtp.mailfrom=ezchip.com; vger.kernel.org; dkim=none (message not signed) header.d=none; From: Chris Metcalf To: CC: Chris Metcalf , Subject: [PATCH] tile: use free_bootmem_late() for initrd Date: Thu, 23 Jul 2015 14:12:40 -0400 Message-ID: <1437675160-17478-1-git-send-email-cmetcalf@ezchip.com> X-Mailer: git-send-email 2.1.2 X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;DB3FFO11FD042;1:Zrgk/oBlb2Bzr1AlZswXwL5pQ7A6bCm1VOl/OIKZOZrkeH4MOZmuU39QEQBCBm53gubCbCWAFgIWDc1aokeHrsOk0LTIbrufIBlxLJ7xoh/rN5n3SpDviY/jHSIdILlLIc57ORQ1sx1F0d6i+MKyCKtBiWWSIHSNP7daW7NIEfgxy/5po4gUPwJ64jcXTMjsfqz7AEq9vJCHJzAvB0Np484iKwap8RFaZpBKrxx6hYzX5RuNMAsbXJ+vbL1YwKhe5pgJCnc5Lyw9hvaFaHJYk7002u1TWNuf9fT9L5w2+4VNuCiTTMl28K35zhUoYDugowA8kdx6l2gekSN/gsibb0Pc78e1WrNniiYcE73mmgDo8GRvgKo1pO7g4vBSdDlSWBHPJ+MLoOyfwCvE4JbvJw== X-Forefront-Antispam-Report: CIP:12.216.194.146;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(2980300002)(339900001)(189002)(199003)(5001960100002)(87936001)(110136002)(6806004)(46102003)(36756003)(86362001)(5003940100001)(48376002)(50226001)(47776003)(450100001)(62966003)(50986999)(42186005)(2351001)(105606002)(19580395003)(189998001)(106466001)(19580405001)(104016003)(77156002)(229853001)(50466002)(85426001)(33646002)(92566002);DIR:OUT;SFP:1101;SCL:1;SRVR:AM2PR02MB0771;H:lab-41.internal.tilera.com;FPR:;SPF:Fail;MLV:sfv;MX:1;A:1;LANG:en; MIME-Version: 1.0 Content-Type: text/plain X-Microsoft-Exchange-Diagnostics: 1;AM2PR02MB0771;2:AwP8z3KcV8sziaHxxielW8V9Z08NjV2S8YQkJ1U2g7pfD7HRUNjkjvVMTq7faKD3;3:fI/rY26ispe9r0vx5Yz+JvG1v7pRw33/+5gctufVawCrZwI15wR0elA4cLnS8BG08lEiHo/7k21OXFOM14ZX9ygmk4BpBPgjvp+QloSPhO4mnEyM27Z65tIGFSCQqR5KZe1HeAa7YXw0l3g8Ma9Sx/rwvrf6MdywigS8QG7+amXsQlRJ1/fn3HaL7a/Q8aQ5gWmI+XEXGF3r5sHnoyhbd/i3ni8UjgJ1aHGhbYr0o7ubeG5NP6Nq/x/WONVLNO9U;25:262aDS/DEnTdrn/fBooDOmgaRMc6iK7DJRLL29rkMG/RnV/3QlQWkyYJMtXtKwOntmRik/Apc+1WAvbbLT51SjNqg197KM2AE7Ak+eEHPsJpMMEa4BtBaA0s22M02U2ueAWiNhh3qt3hhcRTBvg7uJK9oxrUfcLm0lghkanUr9pRfXa813ZDtgfJ6mRmieBzFFLs2xJS8GGi2CkRIo0ZhTeFLKpjcO9p3ZikIohpq7UBi96YOif56o5NnCGZajmEx0sWu48s8ZYzvfWNSwI6wg==;20:6YhLrEnRkV3IT5nglhVCfPlIsdGhXAuz4UjkaE3jUBvZFjFPrYwF3r1PAVa6EE9RKbMdPWHsvImZCBA5AV4N2BcYMJbsZoMjllawung+juqYtDTsskOU1NxztOygSX+KJr8dH1OtPiBh4rTcR9cl9y2h06+Ax2AtCvkTrEo/In0= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AM2PR02MB0771; AM2PR02MB0771: X-MS-Exchange-Organization-RulesExecuted X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5005006)(3002001);SRVR:AM2PR02MB0771;BCL:0;PCL:0;RULEID:;SRVR:AM2PR02MB0771; X-Microsoft-Exchange-Diagnostics: 1;AM2PR02MB0771;4:vHwgKB+OLjCPi+1/ggFb2NWidzKVuDorv7HgOElIeC173V/Hw9IsowY7vwxR/ZQz124A1U7SHLO/QgQM3rn70WCXtCHxiFVWhwL7CrtY1+iu9HEFfA+aoFfml2MNHTpqPldx1RZftTb7Q7lGTOHgmbHBJtB4L77i+4ab/Mzj6Y6D70pxPEuaWbxtSawHS1GfGFOJ4oDg4wB+qVlIgmrOF/Eol96o5UYpmTWFcDPwtUUoz95B7HmJ+1anaGO8LiDiSKmgr61v1fIZ9E5IoPoluddVEbo2Lcv+WM9y4S/LQiQ= X-Forefront-PRVS: 06469BCC91 X-Microsoft-Exchange-Diagnostics: 1;AM2PR02MB0771;23:PmfzG4/+ccs56TVjos3qEk1MiYPcVorMiwtVCL6ByURmLgVzngrwZd9v4fnu7RsqkBsunOmGlr0kdZw256iO5kkCpVBhXSkLIQ1Hs/NbgAzFFjC6xTBgNTSNZGuypKM9oTbACIcmaGQSZdndYk4Gnu7evU/sZzpL+PuhPDtt9ToSbCotzqdDBin1axyaTJWK4FhUCcn2yvcGocMTh4KkHf1xE5Dh7N5Py8e9xWfGuMjam4omnmJhBu5iuw7c/ReajnvkZ7Wu5Fi6tB5vGJGHyvsPaeXJcRrUVSHBNQ42xZ8OS9E3UDaNQNuLc5wO/a1f3eb/u8Po4tCxhBQlbMQ19FEkorTc4Ho1sMoLYl2gigxIOaJC9UzzGb6kA1ZZFYbOjrrijAdGEITPF4/EhncrFxeu2Hy0f1h302Gt0NW5+Rsgw969vY8yd4l2t+92fP6kVLzssAje6I/F3EaH7OfaRQ7SR7canMBp1Bt2hJJz2iWqhD7HidRsr8XeiIuLphLu1wpirMACZti7alTreRE7/S37rj5rQNhZnXwi2zVafYiwiLhOYxT1HRqh9eeJRSsTgcoCaQ6HBhM3xDkqnSBSemyXsBdat5SY5IjuSL3FrpqAXHftBcpiKyvlZlHqTsDtfv4vjcIVK+AJUnzFlQ68UfcfoLx5YTGkRF5FoBnqBl+aH6uFtMmYXWm2yVsmUYfrbv2ezj1Eq+4Z9yYoqfX/timIq9jy5pVXUwXe4CnIc9ysXNyrRzhZH4LhwNuMEaM8uYUcHFeC0In1t65x1hPgi70IA/4uhDrgf4KeFbqmEWILwiv9Je8ZcQk1rvjHavE5PSrQm0/iswzH1sVrgw4HMFhloxujrgPjKDYQdBmYncS7Tlw9YFaWQpR8B0b2C5Qp X-Microsoft-Exchange-Diagnostics: 1;AM2PR02MB0771;5:VaigH2EGJ2H4BKwZrSVn6qJza+Q6nTbVvM9ev7EenYn01gFNwTDGEOIc98jOU/Zxkh9RiqxXgAXLfXtymMNZNXR0w+P/oAoFrPcR8qTQBEs1FiZFqlpGzDOjRWsFidZ0Ay50Fk7BciQLkvs0Ii+eGg==;24:ar52yGpYtirPZwDYfl+S/qXJfB+VFJqb4CuDm3JYGc2RltD7CuInw8U2KJ32BbN8YhTEg6gl9/K4sNqSSkPXYmt1wMECrm/S0Xs2US1UVpM=;20:4Kax7fM2OoFfNw5PyKlRg5lHYCmD9l4dwvgNj8LvVPS1lS0J6YyVwrIikKogrJX/jJNlBn4eTtcNfMZTxrv3Qw== SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: ezchip.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jul 2015 18:12:46.5584 (UTC) X-MS-Exchange-CrossTenant-Id: 0fc16e0a-3cd3-4092-8b2f-0a42cff122c3 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=0fc16e0a-3cd3-4092-8b2f-0a42cff122c3;Ip=[12.216.194.146];Helo=[lab-41.internal.tilera.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM2PR02MB0771 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 954 Lines: 30 We were previously using free_bootmem() and just getting lucky that nothing too bad happened. Signed-off-by: Chris Metcalf Cc: stable@vger.kernel.org --- arch/tile/kernel/setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/tile/kernel/setup.c b/arch/tile/kernel/setup.c index 99c9ff87e018..6b755d125783 100644 --- a/arch/tile/kernel/setup.c +++ b/arch/tile/kernel/setup.c @@ -1139,7 +1139,7 @@ static void __init load_hv_initrd(void) void __init free_initrd_mem(unsigned long begin, unsigned long end) { - free_bootmem(__pa(begin), end - begin); + free_bootmem_late(__pa(begin), end - begin); } static int __init setup_initrd(char *str) -- 2.1.2 -- 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/