Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp534460ybb; Wed, 8 Apr 2020 05:04:07 -0700 (PDT) X-Google-Smtp-Source: APiQypL9qaEDmuH+1W9ZGBS9HU3DIw/fjsmDj6X5STDPuI1DR0gQkrWA0TyYSmEpKTdir3Nlgt4B X-Received: by 2002:a05:6808:24c:: with SMTP id m12mr1520340oie.100.1586347447672; Wed, 08 Apr 2020 05:04:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586347447; cv=none; d=google.com; s=arc-20160816; b=gfrHliY6EYHN0UfGouP7ekl/a/EpYDmkUZMQXfVe+wW7vbvPPfM1g9SbYQ2kIpE1ls 0QDsB1O/E2Y5UDXVE9lXsxsCNl0jtzG1ZfVByRyelYq3kvmoFOhLPsWrxZSDbkjwIK7Y D3gycUc6oZMNNrkmU3uxYrtRcF231jzN+Wx7Oxpb195a6hKHYDUMQPmD/CMbzo2wzkRM aNSu9+bqHzBQwL6jG0xure45WBW78xje0KP5hhS1w/YlNZVzGtag6na25NRwvddqkkfA jE+xOCeVxX/w47SWr3Bhuo0mUKXjn3qkkarRfaVGc6JmdkiijDwueZzLKSDfLfAdSXHN t89A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+lcZXxZEHGVocLnAtFg5vca+ZcryIgWoBTFv1YYLF4g=; b=VZJ1aU4B0/vUhXuuDHup1mSHBZTeAWjqrBYaRmPHTp6DFBOAfelYTC156HOypDo761 7Z2sPz4lr2Vj/asndvK2lf8/XFX8fzt8+kBLJlJCfJqy8YnjYIOwF2+umwxdpiyijfIr zqnwJZ1VG/El44YWrp905MKkYCVmgLjQtsBejDsft7OOgsgOVm6UuZ7mj4HWtIBJMT8T 5+Cuq/CXNwQM3yO1K4luzRzlDDPL9d42518J+s8j2e8ROPhoIjyDY2iaogObRqlywYsT DgODid4beZQCvl9mbDwGrpW5oVyx28G0gJn4EXv36mFlgUzOH+OgJzrR/s7u93uC2EES 3ypg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=pyDdyMNB; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v8si827848ooq.63.2020.04.08.05.03.36; Wed, 08 Apr 2020 05:04:07 -0700 (PDT) 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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=pyDdyMNB; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729044AbgDHMBY (ORCPT + 99 others); Wed, 8 Apr 2020 08:01:24 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:52334 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729033AbgDHMBT (ORCPT ); Wed, 8 Apr 2020 08:01:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=+lcZXxZEHGVocLnAtFg5vca+ZcryIgWoBTFv1YYLF4g=; b=pyDdyMNBolOORlttG0Ow8hMuA8 buz5EeD0sjSvmJHQdIlYMloXGCUqtH/NgI1zYxqxslpC50LmuKkT2+rHdh9Zy0HSRo06czklbqt1u UonmZgJX7dvVKYYlVmBu45Xwb108cTxn+IssXZhLq7pBnsEYZvMZ9OIGblW7pVBUtl8yETpwacET5 O3xVQLQEEVCxAMnU35vpWxF2yaWjY4jp5jnRit6Z6WZEXeSf7gPKmbHzd0MbHP1LjLzICE/Cead+4 CF/PVgJQtX89EiknsH5urF9gCmJ0Ccb6at4CUW7p3c8Rf4p2uJG/7FAohqFcDtc7MShP8AYKN+bo/ te1inlrQ==; Received: from [2001:4bb8:180:5765:65b6:f11e:f109:b151] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jM9OC-0005u0-OI; Wed, 08 Apr 2020 12:01:05 +0000 From: Christoph Hellwig To: Andrew Morton , "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , Wei Liu , x86@kernel.org, David Airlie , Daniel Vetter , Laura Abbott , Sumit Semwal , Sakari Ailus , Minchan Kim , Nitin Gupta Cc: Robin Murphy , Christophe Leroy , Peter Zijlstra , linuxppc-dev@lists.ozlabs.org, linux-hyperv@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, iommu@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org, linux-s390@vger.kernel.org, bpf@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 27/28] s390: use __vmalloc_node in alloc_vm_stack Date: Wed, 8 Apr 2020 13:59:25 +0200 Message-Id: <20200408115926.1467567-28-hch@lst.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200408115926.1467567-1-hch@lst.de> References: <20200408115926.1467567-1-hch@lst.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org alloc_vm_stack can use a slightly higher level vmalloc function. Signed-off-by: Christoph Hellwig --- arch/powerpc/kernel/irq.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c index a25ed47087ee..4518fb1d6bf4 100644 --- a/arch/powerpc/kernel/irq.c +++ b/arch/powerpc/kernel/irq.c @@ -735,9 +735,8 @@ void do_IRQ(struct pt_regs *regs) static void *__init alloc_vm_stack(void) { - return __vmalloc_node_range(THREAD_SIZE, THREAD_ALIGN, VMALLOC_START, - VMALLOC_END, THREADINFO_GFP, PAGE_KERNEL, - 0, NUMA_NO_NODE, (void*)_RET_IP_); + return __vmalloc_node(THREAD_SIZE, THREAD_ALIGN, THREADINFO_GFP, + NUMA_NO_NODE, (void *)_RET_IP_); } static void __init vmap_irqstack_init(void) -- 2.25.1