Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp124333imj; Thu, 14 Feb 2019 16:49:59 -0800 (PST) X-Google-Smtp-Source: AHgI3IZD01vKUZDOMr3xdFFHbCtdaLC+FsNC0S/zFPEczSpxsfsqnsmgHe7NZS0S5lTrLIu1XIBe X-Received: by 2002:a17:902:6949:: with SMTP id k9mr7334032plt.188.1550191798984; Thu, 14 Feb 2019 16:49:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550191798; cv=none; d=google.com; s=arc-20160816; b=aPHigfm5rmjCLxOhICAMyJm8Z245afFO4rebcm1OKM3jQ3sptO8H7X6g913Ue4RqvN 8jAORkUf4dSNrRAX5VnoybEtbM5RXPcja9rhTpFUDrr9WuzBCKSBUKjCTvJOyXdAKjLQ vubzxuM9Dm9VjhgCZdRhEW0giqQQA6hwsJX3kcmpqEwx0btq/z/w+PSO1itLRIiw2AtT jCV5pWZ1Mc07swi4dZ8rOw2yyGyyB89hKM4X3KnOHIacCbXjMgHanPb7HBsbQlOgFZYp BEJvfbM0uyLf0TEOQ6CrnjN2A+Gl+HXngnULCG6i3KZ7oVY+SZqC4lzYkESuQu632pJP khiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:references:in-reply-to:date :subject:cc:to:from; bh=qhg9Az/DDU/n4f5fXjzWqaPfB0uzomNSOq9QUopuYBo=; b=U7I8wTKpKafNDHoBprT94JvJJOUMmAv17FxiA/PeZ2TGVyrCks3P8oDhm0gMBjUMOa QWsFFi4doeDHXb0gmvUa46svTMnGSchj06Mv9fPpct4CFxX3Wor64zr2uqwkTTKe67Q5 87Xn4XBI0pUb4h/4ecqPHhr2OzMOYsGxoHHflqpwj07rIVPs3TpHx1glO3W9ZCxWT6hS wDegozf7M3OcOsPKH+m3O4ELM1ezHbZ9wzCQwEOXHY4vEgoRFoWHGVVrNineC39ySHgX 5rVxDBDvMPOXwneYmG4wpZH/8yzoaRlV+FHa8Pr/UFFjqqIpusk+L/n+TPxH+Ybf8Ce8 Yocg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d38si3993823pla.207.2019.02.14.16.49.43; Thu, 14 Feb 2019 16:49:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2437520AbfBNQAK (ORCPT + 99 others); Thu, 14 Feb 2019 11:00:10 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:49416 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2392172AbfBNP7x (ORCPT ); Thu, 14 Feb 2019 10:59:53 -0500 Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x1EFgoTe103936 for ; Thu, 14 Feb 2019 10:59:52 -0500 Received: from e06smtp07.uk.ibm.com (e06smtp07.uk.ibm.com [195.75.94.103]) by mx0b-001b2d01.pphosted.com with ESMTP id 2qnavjatrp-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 14 Feb 2019 10:59:51 -0500 Received: from localhost by e06smtp07.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 14 Feb 2019 15:59:49 -0000 Received: from b06cxnps4076.portsmouth.uk.ibm.com (9.149.109.198) by e06smtp07.uk.ibm.com (192.168.101.137) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Thu, 14 Feb 2019 15:59:46 -0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x1EFxjfa1114552 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 14 Feb 2019 15:59:45 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8AAFD4C046; Thu, 14 Feb 2019 15:59:45 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C3AC44C040; Thu, 14 Feb 2019 15:59:43 +0000 (GMT) Received: from rapoport-lnx (unknown [9.148.8.84]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Thu, 14 Feb 2019 15:59:43 +0000 (GMT) Received: by rapoport-lnx (sSMTP sendmail emulation); Thu, 14 Feb 2019 17:59:43 +0200 From: Mike Rapoport To: Andrew Morton Cc: Christoph Hellwig , Palmer Dabbelt , Richard Kuo , linux-arch@vger.kernel.org, linux-hexagon@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-riscv@lists.infradead.org, Mike Rapoport Subject: [PATCH 2/4] hexagon: switch over to generic free_initmem() Date: Thu, 14 Feb 2019 17:59:35 +0200 X-Mailer: git-send-email 2.7.4 In-Reply-To: <1550159977-8949-1-git-send-email-rppt@linux.ibm.com> References: <1550159977-8949-1-git-send-email-rppt@linux.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 19021415-0028-0000-0000-0000034898F5 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19021415-0029-0000-0000-00002406C568 Message-Id: <1550159977-8949-3-git-send-email-rppt@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-02-14_07:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=2 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=769 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1902140109 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org hexagon implementation of free_initmem() is currently empty and marked with comment * Todo: free pages between __init_begin and __init_end; possibly * some devtree related stuff as well. Switch it to the generic implementation. Signed-off-by: Mike Rapoport --- arch/hexagon/mm/init.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/arch/hexagon/mm/init.c b/arch/hexagon/mm/init.c index 1719ede..41cf342 100644 --- a/arch/hexagon/mm/init.c +++ b/arch/hexagon/mm/init.c @@ -85,16 +85,6 @@ void __init mem_init(void) } /* - * free_initmem - frees memory used by stuff declared with __init - * - * Todo: free pages between __init_begin and __init_end; possibly - * some devtree related stuff as well. - */ -void __ref free_initmem(void) -{ -} - -/* * free_initrd_mem - frees... initrd memory. * @start - start of init memory * @end - end of init memory -- 2.7.4