From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 117091 invoked by alias); 25 Apr 2018 18:36:47 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 117078 invoked by uid 89); 25 Apr 2018 18:36:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=HX-HELO:sk:mail-vk X-HELO: mail-vk0-f68.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=+ImJVpK2dw3d6txK3SYbbyXDKDYJJyzauuDrdegJ5Cw=; b=C3x1k9HPJuald1g7zcIEUbJmaKPs/HcjYNCP8QdQjA97PAwZgxi1cPOofZ7C6+oTTf oE66jtvEmKJ1YZ+5yMwk9BfCvaFhhr+QzAO9ZlR1SHb81Q0bRtN2bPpv+exfOjYsr5ym WHNoSBB4jMNu1lq3OS6mRzWr8MDkoyHYbb03jlDeDw7lkVYJQyfL7n0d75k2TvAfauRM sEQcFG+DEGFb5wxOP3lwnSj+xsezitH2iBgc+COT+SIDzCnAXuN7VL6bNvDEnph3H7bA OSaRNGRrctJuzasA3vyoxRChmZ8mcT7wtMvaZD6OF3tGPrHu/tUzbOVkpK6Ygzv6zIPK xVMQ== X-Gm-Message-State: ALQs6tCWNmSBiLD3Lfrp2s3qW1aUcBzlwTDrwmhUz2dOwx+2ANSYME1H Qa4pBNQBkAFOlTyGP/iSMAkZuJaAqtz6v4Z+jX4= X-Google-Smtp-Source: AB8JxZqdgOT3f4UVji4CgHqQ6u0RaSetpUe6LdAjPmokrmJcYsBA84O+BAYkwrvdls3Y2mThrk4FvQeloTIhgmhTYFY= X-Received: by 10.31.33.75 with SMTP id h72mr1516259vkh.176.1524681403523; Wed, 25 Apr 2018 11:36:43 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20180425160311.2718314-5-arnd@arndb.de> References: <20180425160311.2718314-1-arnd@arndb.de> <20180425160311.2718314-5-arnd@arndb.de> From: Geert Uytterhoeven Date: Wed, 25 Apr 2018 18:36:00 -0000 Message-ID: Subject: Re: [PATCH 04/17] asm-generic: Remove unneeded __ARCH_WANT_SYS_LLSEEK macro To: Arnd Bergmann Cc: y2038 Mailman List , Linux Kernel Mailing List , Linux API , Linux-Arch , libc-alpha , Thomas Gleixner , netdev , Deepa Dinamani , Al Viro , "Albert ARIBAUD (3ADEV)" , Peter Zijlstra , Darren Hart , "Eric W. Biederman" , Dominik Brodowski Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2018-04/txt/msg00555.txt.bz2 On Wed, Apr 25, 2018 at 6:02 PM, Arnd Bergmann wrote: > The sys_llseek sytem call is needed on all 32-bit architectures and > none of the 64-bit ones, so we can remove the __ARCH_WANT_SYS_LLSEEK guard > and simplify the include/asm-generic/unistd.h header further. > > Since 32-bit tasks can run either natively or in compat mode on 64-bit > architectures, we have to check for both !CONFIG_64BIT and CONFIG_COMPAT. > > There are a few 64-bit architectures that also reference sys_llseek > in their 64-bit ABI (e.g. sparc), but I verified that those all > select CONFIG_COMPAT, so the #if check is still correct here. It's > a bit odd to include it in the syscall table though, as it's the > same as sys_lseek() on 64-bit, but with strange calling conventions. > > Signed-off-by: Arnd Bergmann For m68k: Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds