From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by sourceware.org (Postfix) with ESMTPS id BB7753858D20 for ; Tue, 30 May 2023 21:20:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BB7753858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=nefkom.net Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4QW50j1lqQz1r5hr; Tue, 30 May 2023 23:20:53 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4QW50j1S9yz1qqlS; Tue, 30 May 2023 23:20:53 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id 1BVwkkPhCQcV; Tue, 30 May 2023 23:20:52 +0200 (CEST) X-Auth-Info: fyTXLtKC92i8hlSXH5jGECIjPe9YWxdGyVU+q2gtseyoUW+caAxEERWEfltLJo8g Received: from igel.home (aftr-62-216-205-89.dynamic.mnet-online.de [62.216.205.89]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Tue, 30 May 2023 23:20:52 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id 4E0792C1CD1; Tue, 30 May 2023 23:20:52 +0200 (CEST) From: Andreas Schwab To: Adhemerval Zanella via Libc-alpha Cc: Adhemerval Zanella Subject: Re: [PATCH] io: Fix F_GETLK64, F_SETLK64, and F_SETLKW64 for powerpc64 In-Reply-To: <20230530195406.2073780-1-adhemerval.zanella@linaro.org> (Adhemerval Zanella via Libc-alpha's message of "Tue, 30 May 2023 16:54:06 -0300") References: <20230530195406.2073780-1-adhemerval.zanella@linaro.org> X-Yow: I want another RE-WRITE on my CAESAR SALAD!! Date: Tue, 30 May 2023 23:20:52 +0200 Message-ID: <878rd5a53f.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-7.9 required=5.0 tests=BAYES_00,GIT_PATCH_0,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,KAM_NUMSUBJECT,RCVD_IN_BARRACUDACENTRAL,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Mai 30 2023, Adhemerval Zanella via Libc-alpha wrote: > diff --git a/sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h b/sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h > index 0905cd833c..46ebda7057 100644 > --- a/sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h > +++ b/sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h > @@ -33,6 +33,16 @@ > # define __O_LARGEFILE 0200000 > #endif > > +#if defined(__PPC64__) || defined(__powerpc64__) I think this should use __WORDSIZE == 64. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."