From patchwork Sun Apr 4 11:58:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1462081 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=l/TSGhuZ; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FCsmc0c9sz9sRR for ; Sun, 4 Apr 2021 22:00:16 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 29A2A38515DB; Sun, 4 Apr 2021 11:59:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 29A2A38515DB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617537583; bh=jk79jF3k9E6vfPguSO5Yh2Y/ohCtW/UIxIkavyhEbp4=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=l/TSGhuZNQhlnp0GWhdix1WupkqosRwwokLMWWTauCZLGI1C4NFofmTqfKM7sKMhk xaagUv979JIQvBvg5Ymv97j4wm75JFAxeR4pIcV4jiw4D+2Hl3EhbQFuWjtyvcvr81 2IklJ9G68UHBs86WQHrQ4WuMg/Mm0Qcg1EXZEFLg= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by sourceware.org (Postfix) with ESMTPS id A3480385E83A for ; Sun, 4 Apr 2021 11:59:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org A3480385E83A Received: by mail-wr1-x433.google.com with SMTP id v4so8574553wrp.13 for ; Sun, 04 Apr 2021 04:59:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jk79jF3k9E6vfPguSO5Yh2Y/ohCtW/UIxIkavyhEbp4=; b=Km81M9n4w3KIhkvhvdpgCDyS4IYxjQXhGU2SLXGlMDmQhxsT3klZD/C9DjOigJR/E8 3TixTGULTQMrc1qh3daHXsWxf8UaVvUV8re+AoczLNbOMWGtbcaInLuU8d0wFLNBeQYI vVUhXXeiGyTKNy+dHX1Bg6uvDCYOTThOr7JhhQrYtqm3f4FO7VruZrrOHuC+nbaedzky LsUsV53u3z7AIteyYneK4MHqOgIJMiUvIRqdaqq03r3hAt3Z10A6sD3sGFRctf4Kd2tv 3YZfn7XP2ZdrJg6sTiimGNWWu33tpzKsZnqfGiGd2VWU95i28ojZ0OcodemZRJsa6HHo VOqQ== X-Gm-Message-State: AOAM531Nu7xpTXwZSTYH6RCNjXrfX//nzsN7L8nZKYSBFaqQnG2mrTCm 2NyeEAIbmiN2k4PUPgQjZeY= X-Google-Smtp-Source: ABdhPJzCuQ5x+/u9Yu5Xmdr88Krcd32mAkrwfGti6ynE9poooQJkFXYDsjSWwOncRgU/X7woVEaW/g== X-Received: by 2002:a5d:65ca:: with SMTP id e10mr1281426wrw.331.1617537577828; Sun, 04 Apr 2021 04:59:37 -0700 (PDT) Received: from localhost.localdomain ([170.253.36.171]) by smtp.googlemail.com with ESMTPSA id u2sm23786967wrp.12.2021.04.04.04.59.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Apr 2021 04:59:37 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v5 07/35] alloc_hugepages.2: Use syscall(SYS_...); for system calls without a wrapper Date: Sun, 4 Apr 2021 13:58:20 +0200 Message-Id: <20210404115847.78166-8-alx.manpages@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210403194026.102818-1-alx.manpages@gmail.com> References: <20210403194026.102818-1-alx.manpages@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" The page didn't specify includes, and the syscalls are extint, so instead of adding incomplete information about includes, just leave it without any includes. Signed-off-by: Alejandro Colomar --- man2/alloc_hugepages.2 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/man2/alloc_hugepages.2 b/man2/alloc_hugepages.2 index 07193c542..cc76fc495 100644 --- a/man2/alloc_hugepages.2 +++ b/man2/alloc_hugepages.2 @@ -27,11 +27,12 @@ alloc_hugepages, free_hugepages \- allocate or free huge pages .SH SYNOPSIS .nf -.BI "void *alloc_hugepages(int " key ", void *" addr ", size_t " len , -.BI " int " prot ", int " flag ); +.BI "void *syscall(SYS_alloc_hugepages, int " key ", void *" addr \ +", size_t " len , +.BI " int " prot ", int " flag ); .\" asmlinkage unsigned long sys_alloc_hugepages(int key, unsigned long addr, .\" unsigned long len, int prot, int flag); -.BI "int free_hugepages(void *" addr ); +.BI "int syscall(SYS_free_hugepages, void *" addr ); .\" asmlinkage int sys_free_hugepages(unsigned long addr); .fi .SH DESCRIPTION