Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2945740ybl; Thu, 29 Aug 2019 15:33:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqytsR+JsjgnjM/NuxVwnYs83nNBsDZXnjiDk+da6D0jm4yq/O99KUVjxD4KiSltRFpNvIe1 X-Received: by 2002:a17:90a:a40e:: with SMTP id y14mr11944762pjp.83.1567117997265; Thu, 29 Aug 2019 15:33:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567117997; cv=none; d=google.com; s=arc-20160816; b=nprUBAB4m1NT+ND7xypHTIBX6L6PqSWGGQgtQ2RYCPemHJvbp3QmgU9CKr/oZJ0Z1X ceOHIQ7Hv7SFSxGXHminkaGDWzDzk42/VdnxR+H/O9gARutQWEyNgLX6dVPkDEsWLi9s fZIdqvdLPCTEXvck+EMfgDfAf5PLT8CSbePNg7vGlg5Dxt1rcpZiZNllNag1bjXkzrRU RxWFt0G6ZV2mKNNvW0Rqo9y2SQW0kHS5vpS5VjuiWR9PAE3oIPrB9I6G/uy9AWeTkg5r s954uIMrX+UWzjMMy+JJXkZqdeGI+m7aWub5Af/pPh19u6+aPvrZzBy/KdZTnhJ6BsGA U+Tg== 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=SZOMALujYHdR8Fphv60sQayYO4cyDlQJZYsVtMlVaVU=; b=tSKpzWRJtySlEwCICZ/M0w6A13xgQ87KEYeKAIJRXjCkE/8UHElJraDSAPKqOgjD6F N2rBA1lFMw9hjIBrCfACXCdiWhxnqcB3q9PSluCaid+9ZXaUw2rXsg2IoNIpJ3wiW1SH pxUoRU4hLj+LV5s1nZ36x3IH5iQFTyYEvxN7W6YUeDLY1cqO+YaC0ipv2bvbEEljybi/ t6/6I8DFqpXG3eS/kXu9lA5ctOaKbuqdy61mjRrScIva4EC8pH2ktBx20BeFduvlm8ow 2Fzl90J3PShKuotHrNWFXFoHia4pedCtHzoCwKQqmcpA1HFYAzbCEC0A6xwBQbQfk4ua tGPw== 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 y27si4246038pff.50.2019.08.29.15.33.01; Thu, 29 Aug 2019 15:33:17 -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 S1728455AbfH2W3y (ORCPT + 99 others); Thu, 29 Aug 2019 18:29:54 -0400 Received: from mx2.suse.de ([195.135.220.15]:59144 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727924AbfH2W3a (ORCPT ); Thu, 29 Aug 2019 18:29:30 -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 9E73AABD9; Thu, 29 Aug 2019 22:29:28 +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 v5 1/5] powerpc: make llseek 32bit-only. Date: Fri, 30 Aug 2019 00:28:36 +0200 Message-Id: <5ce0aa18e5003ab4f6d390d96c569334523d0230.1567117050.git.msuchanek@suse.de> 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 inteface 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") 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