Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1109833ybl; Fri, 30 Aug 2019 12:00:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqzVsF5YVLhkImEiekLOjaY8SCkNfu6T2reiun5mfXLGZOrqYC5TZnPW3XrvgKRRV1IRgHho X-Received: by 2002:a17:902:9b86:: with SMTP id y6mr17256365plp.217.1567191648748; Fri, 30 Aug 2019 12:00:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567191648; cv=none; d=google.com; s=arc-20160816; b=azu74KZQ/J1GV872CbjlNVAIKlOmRC8Ykjj0GNwgMxqLNRBFv68DZ1Jif4azBdngPZ 07/oOEhGT/+2VNdEkXu7dJLknSGifZ/CsZKQe9nt6eeBswlVRRqJN6W/8x26Xp1YfVmT Ys0RrxquugqwQn03rqie4gBzArmw7CwDkn7fKa2/ICElo7UlpIqstSslAVfd7WOblTvb eEdLx7ZTzGDaOjPflK/mIy409igRJAv7HS7ixBnkBnT+YVNyd3MwXL2K0U+LhjluJK18 gqW7URf7COtCgK3Sy9ntGsvrMe6CA2qAPFnFvIw8uBDwJeGSSjlYo8nO9YkGWvaauoGv rxKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=WFEiPphw8k0crovDhBOMP/dWmugpXnqt+4SxoFQ+MBI=; b=Fih3zzAzPYOUQfGciYe9WWHshUW9iUgJfdR8qn4Ytz2jR63wumpuaJ3pXw8SC+7FZq SNY+nEFAVxfIOFW3pwUaW1A1L2Ihi8Y1ax5+8L2JHu+4wTFXTveryGH9q/11gq659ZEq L9DK9t8CdXmv5G12su+AdjjjThTrVcmGRLHNIAwMOtne2DQbOgUHsJoYNBRRhc1/Cy+t B1DODJWpLnwTukJskTcj2qTMF8GT+U6hkko8xLlJiQj/ibBnMnNqC3Q/EMMpo1jqy37q WkoONBpmoqrTLiSnRnzxnca1JpmNKFaIMTGwUeMEa8gCei6vi925N7yAkz/LlvXyUcKy 76Ig== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b41si5146694pla.155.2019.08.30.12.00.33; Fri, 30 Aug 2019 12:00:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728241AbfH3S6I (ORCPT + 99 others); Fri, 30 Aug 2019 14:58:08 -0400 Received: from mx2.suse.de ([195.135.220.15]:42452 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727888AbfH3S6H (ORCPT ); Fri, 30 Aug 2019 14:58:07 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id B3993ABE9; Fri, 30 Aug 2019 18:58:05 +0000 (UTC) From: Michal Suchanek To: linuxppc-dev@lists.ozlabs.org Cc: Michal Suchanek , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Christophe Leroy , Nicholas Piggin , Hari Bathini , Joel Stanley , Andrew Donnellan , Firoz Khan , Breno Leitao , Russell Currey , Nicolai Stange , Michael Neuling , "Eric W. Biederman" , Thomas Gleixner , Arnd Bergmann , Geert Uytterhoeven , Heiko Carstens , Christian Brauner , David Howells , Greg Kroah-Hartman , Allison Randal , David Hildenbrand , linux-kernel@vger.kernel.org Subject: [PATCH v6 1/6] powerpc: make llseek 32bit-only. Date: Fri, 30 Aug 2019 20:57:52 +0200 Message-Id: X-Mailer: git-send-email 2.22.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The llseek syscall is not built in fs/read_write.c when !64bit && !COMPAT With the syscall marked as common in syscall.tbl build fails in this case. The llseek interface does not make sense on 64bit and it is explicitly described as 32bit interface. Use on 64bit is not well-defined so just drop it for 64bit. Fixes: caf6f9c8a326 ("asm-generic: Remove unneeded __ARCH_WANT_SYS_LLSEEK macro") Link: https://lore.kernel.org/lkml/20190828151552.GA16855@infradead.org/ Link: https://lore.kernel.org/lkml/20190829214319.498c7de2@naga/ Signed-off-by: Michal Suchanek --- v5: update commit message. --- arch/powerpc/kernel/syscalls/syscall.tbl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/kernel/syscalls/syscall.tbl b/arch/powerpc/kernel/syscalls/syscall.tbl index 010b9f445586..53e427606f6c 100644 --- a/arch/powerpc/kernel/syscalls/syscall.tbl +++ b/arch/powerpc/kernel/syscalls/syscall.tbl @@ -188,7 +188,7 @@ 137 common afs_syscall sys_ni_syscall 138 common setfsuid sys_setfsuid 139 common setfsgid sys_setfsgid -140 common _llseek sys_llseek +140 32 _llseek sys_llseek 141 common getdents sys_getdents compat_sys_getdents 142 common _newselect sys_select compat_sys_select 143 common flock sys_flock -- 2.22.0