From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 597B728F3 for ; Tue, 1 May 2018 21:39:17 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id B281E21BDB; Tue, 1 May 2018 15:39:16 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 01 May 2018 15:39:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:date:from:message-id:subject:to:x-me-sender:x-me-sender :x-sasl-enc; s=mesmtp; bh=/NdQMT1I0TM8yHEo9KY7UUfu9je5ZSnmQbh3Mn cMR3k=; b=o9ZX4641yvnCzF9jqCsz2BjmpGP+QkpRloQosbs53bLJyxrR4DIC81 vijJEUOBC7QBh+ZRWjcOF5NI+6ZzzvRkc+QrQkPAoN5V3l8BWINx3fYaUOZC9dTB aOLttXXxsPi0cWUH48tJNSATg+OBO35X7oMGjaOcCWVD2AxkSqq4k= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:message-id:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=/NdQMT1I0TM8yHEo9 KY7UUfu9je5ZSnmQbh3MncMR3k=; b=CTAzJpCf/REyZKZBm7jrNKYIksLowkRIl d/cCoTP8nImXiar0+09sdIWK5D8CdYemnJvLg8zt1ODZ0pvGsvs5yoopdXJeVav3 eVP99QbS9MaJ7j9Aq7Mke2G0GWhb1hwfexjq10sUHLSjCPreQBcz429SIUV7z+wU TA2TmVF9NrIuNs1wpQSZf1rUCmr9gMCztjPTThr7+9htRzVNRXrQiCu2oK/iTnax S0xNt416H3Yoruvelw5eilEfUx6cFAyCQcvK1q1+uJxYZiZe/mS5PuZmJ28Lb/Y9 Ui+m2a3cvJ6baTmnkczMra0ECXBWMedLEkHd90qxHGbGounMM2oYQ== X-ME-Sender: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 08D27E47A1; Tue, 1 May 2018 15:39:15 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: anatoly.burakov@intel.com Date: Tue, 1 May 2018 21:38:52 +0200 Message-Id: <20180501193852.1728-1-thomas@monjalon.net> X-Mailer: git-send-email 2.16.2 Subject: [dpdk-dev] [PATCH] mem: fix typo in local function name X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2018 19:39:17 -0000 Fixes: 582bed1e1d1d ("mem: support mapping hugepages at runtime") Signed-off-by: Thomas Monjalon --- lib/librte_eal/linuxapp/eal/eal_memalloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/librte_eal/linuxapp/eal/eal_memalloc.c b/lib/librte_eal/linuxapp/eal/eal_memalloc.c index 360d8f73c..ace2bcf3e 100644 --- a/lib/librte_eal/linuxapp/eal/eal_memalloc.c +++ b/lib/librte_eal/linuxapp/eal/eal_memalloc.c @@ -143,7 +143,7 @@ prepare_numa(int *oldpolicy, struct bitmask *oldmask, int socket_id) } static void -resotre_numa(int *oldpolicy, struct bitmask *oldmask) +restore_numa(int *oldpolicy, struct bitmask *oldmask) { RTE_LOG(DEBUG, EAL, "Restoring previous memory policy: %d\n", *oldpolicy); @@ -889,7 +889,7 @@ eal_memalloc_alloc_seg_bulk(struct rte_memseg **ms, int n_segs, size_t page_sz, #ifdef RTE_EAL_NUMA_AWARE_HUGEPAGES if (have_numa) - resotre_numa(&oldpolicy, oldmask); + restore_numa(&oldpolicy, oldmask); #endif return ret; } -- 2.16.2