From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,NO_DNS_FOR_FROM, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from [192.168.88.254] (unknown [125.160.106.238]) by gnuweeb.org (Postfix) with ESMTPSA id C05B080615; Tue, 26 Jul 2022 11:29:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1658834952; bh=EM7H6QwM39knffPItK5J9kQZviiwplatFt/HmxLc9Ig=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=rK0bte+CmJvOvSLRcGR0K2SeefkPKi63bc1LOtWtLwM/4Ulykc62o1uRox6/MEw+F BgKUdocAi3dAFVX+JJH4FmvcSqizylkVe5gsU4p4WAXtiY/XLt2yY9/C/8ZURgR07Y nEDHz2SGS2olnhFe/Ro3uuAU0EnqfReKflFpD14GbeH2Q6Knzsp5iS5y/3hDR0bOxW kWV6ToasjJS6GFVxjrumoNPJnPDPZRfPW9Yqw0SPDxOTsdTjokoSI8VAMZM12Xl5Nh xUDr5b6lFs1o+8Yh7/qgeQNfg3ApxKHdUFxnWXs26/q2FMpv4lvdmYclXQOEOQAJtF 8xbLvyT+H4lvA== Message-ID: Date: Tue, 26 Jul 2022 18:29:05 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH liburing] arch/syscall: Use __NR_mmap2 existence for preprocessor condition Content-Language: en-US To: Alviro Iskandar Setiawan , Jens Axboe Cc: io-uring Mailing List , GNU/Weeb Mailing List References: <20220726111851.3608291-1-alviro.iskandar@gnuweeb.org> From: Ammar Faizi In-Reply-To: <20220726111851.3608291-1-alviro.iskandar@gnuweeb.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: On 7/26/22 6:18 PM, Alviro Iskandar Setiawan wrote: > Now __NR_mmap2 is only used for i386. But it is also needed for other > archs like ARM and RISCV32. Decide to use it based on the __NR_mmap2 > definition as it's not defined on other archs. Currently, this has no > effect because other archs use the generic mmap definition from libc. > > Signed-off-by: Alviro Iskandar Setiawan Acked-by: Ammar Faizi -- Ammar Faizi