From patchwork Fri Aug 4 19:32:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helge Deller X-Patchwork-Id: 9881965 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3A2F260360 for ; Fri, 4 Aug 2017 19:32:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2A9B728948 for ; Fri, 4 Aug 2017 19:32:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1F402289E3; Fri, 4 Aug 2017 19:32:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 97DA128948 for ; Fri, 4 Aug 2017 19:32:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752033AbdHDTcw (ORCPT ); Fri, 4 Aug 2017 15:32:52 -0400 Received: from mout.gmx.net ([212.227.17.22]:60780 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752011AbdHDTcv (ORCPT ); Fri, 4 Aug 2017 15:32:51 -0400 Received: from p100.box ([193.159.17.37]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0M0QLp-1dNHHS2dwr-00uZbN; Fri, 04 Aug 2017 21:32:43 +0200 Date: Fri, 4 Aug 2017 21:32:41 +0200 From: Helge Deller To: linux-parisc@vger.kernel.org, James Bottomley , John David Anglin Subject: [PATCH] parisc: Drop MADV_SPACEAVAIL, MADV_VPS_PURGE and MADV_VPS_INHERIT Message-ID: <20170804193241.GA17917@p100.box> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-Provags-ID: V03:K0:TI6epLvPcAY6iCUi8fbcyQvyZuagaKoqcJaO3P91nRDOPJf5AUn NLSCmEIV/a4OXAxvh7XXoC1l+VzadVquS/WGau1iBuWtmqTgTj9kYmd0QmGqM7JBGLP+5RA vvGHHrRaofIofbqB6yANDQHqxN0SDFt6/u0hTzpqKVzGMD5Ohi9JxydIAgzpbXE5CpXaplx z5gZZwzbGSUE7u4cBZ/aw== X-UI-Out-Filterresults: notjunk:1; V01:K0:KhpWm5rAaJA=:EMlIl4t90BiCheOiEV8mFk mwcvH496AFHTWOk8bK4lKOXV2xCX53YXOx9J8iTlbJk58JeAHqhuSkFWRrQRs2FMS4610HQQw 4BWhZr3PH4z4m1JoDFVvDOehthzrcGYDzuAcd1A3SgyVgLtzsqEKd3QdyMfVCTT4g5Te2w5pD 0VhdS8KkYCtdx9ozpQ/WeZhvG1gBhaYOFrQROLGaevegavj80ngcM4lpzfVMeOCWhvr73m5TB 4C4MZs9Xw+UN9GQZQqco1zqSHWUs9PDtKZ5qMwS6J7XMbb+IOLDmWUkgbVFcq3QB29UvQqf0W uuwsd+/+msN4qDOFY47AgxzU2pid6EhOyz/lwflI5fHxEP5F3MHXJ2IpP7ocCpUh8v7A0XiJd FzigLA/TEXLWf/P5UKuDPzOBtWdskpqaFzORW0ozay5c+vMSzBJOAF3eyRbSX8RAXMyOZnK+G 1C5Xi1cqrn5YZHPNjME0PnsJH7UMLh3vmK8KC54y3DJBiSjNJYlH9FWq41iQ9lvRJKKn28c2+ rFULpQx64BhfKBN3NXuUwqn8F3DA2GBhl6ai4aHCNtVOs/M+NgMuD/7vvJDnIKSNl6UtpJtAC y7yXIO1mwWoU0VL0Bu97I7BWnFECHzqQfnhTvr9YVIA2mRpp7I2fi3QoN7nd7MUhVFkzVJ1na lSWcDkLjx1CcMYoPtBnBhFm6Ml4yHpbaVbzxK+ZXdKcWj7uHPoP76QtdfcAkJZOGQo9yOrBnz xyYbL28QCX2QEdI0jwST+ZvWAGYZTPKcWtIA9wInHTsLEmRJKcQn7PAxtWeuS2dyTPyhrRseQ ZGtze9Bbz+MGke+pk84t5g1UmqEVw== Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Those aren't used or implemented anywhere in Linux. Furthermore, MADV_SPACEAVAIL seems to be a HP-UX related flag which is implemented as null operation in HP-UX. And since we don't support running HP-UX binaries there is no need to keep it. Signed-off-by: Helge Deller --- To unsubscribe from this list: send the line "unsubscribe linux-parisc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/parisc/include/uapi/asm/mman.h b/arch/parisc/include/uapi/asm/mman.h index 2e7b8c2..9a9c2fe 100644 --- a/arch/parisc/include/uapi/asm/mman.h +++ b/arch/parisc/include/uapi/asm/mman.h @@ -40,9 +40,6 @@ #define MADV_SEQUENTIAL 2 /* expect sequential page references */ #define MADV_WILLNEED 3 /* will need these pages */ #define MADV_DONTNEED 4 /* don't need these pages */ -#define MADV_SPACEAVAIL 5 /* insure that resources are reserved */ -#define MADV_VPS_PURGE 6 /* Purge pages from VM page cache */ -#define MADV_VPS_INHERIT 7 /* Inherit parents page size */ /* common/generic parameters */ #define MADV_FREE 8 /* free pages only if memory pressure */