Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753074AbbKKXHq (ORCPT ); Wed, 11 Nov 2015 18:07:46 -0500 Received: from mx2.suse.de ([195.135.220.15]:43534 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753021AbbKKXHp (ORCPT ); Wed, 11 Nov 2015 18:07:45 -0500 From: Andreas Schwab To: Arnd Bergmann Cc: linux-arm-kernel@lists.infradead.org, Yury Norov , pinskia@gmail.com, Prasun.Kapoor@caviumnetworks.com, catalin.marinas@arm.com, Nathan_Lynch@mentor.com, linux-kernel@vger.kernel.org, agraf@suse.de, klimov.linux@gmail.com, Andrew Pinski , broonie@kernel.org, jan.dakinevich@gmail.com, Andrew Pinski , ddaney.cavm@gmail.com, bamvor.zhangjian@huawei.com, philipp.tomsich@theobroma-systems.com, andrey.konovalov@linaro.org, christoph.muellner@theobroma-systems.com Subject: Re: [PATCH v6 13/17] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it References: <1446507046-24604-1-git-send-email-ynorov@caviumnetworks.com> <1446507046-24604-14-git-send-email-ynorov@caviumnetworks.com> <20577001.4Nl3YnQ8k2@wuerfel> X-Yow: All this time I've been VIEWING a RUSSIAN MIDGET SODOMIZE a HOUSECAT! Date: Thu, 12 Nov 2015 00:07:41 +0100 In-Reply-To: <20577001.4Nl3YnQ8k2@wuerfel> (Arnd Bergmann's message of "Wed, 11 Nov 2015 21:40:32 +0100") Message-ID: <87k2pojfsy.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1158 Lines: 29 Arnd Bergmann writes: > On Wednesday 11 November 2015 18:54:00 Andreas Schwab wrote: >> Yury Norov writes: >> >> > +#define sys_clock_gettime compat_sys_clock_gettime >> > +#define sys_clock_settime compat_sys_clock_settime >> >> You also need to redirect sys_clock_nanosleep. > > Note that based on my comment, that table would be turned around, and > only the syscalls get overridden that do not have the normal > compat mode behavior (mostly the ones that pass a 64-bit register). Is it intented that _all_ off_t-like syscalls are implemented by the 64bit variants? Currently, this isn't fully implemented (lseek is implemented by sys_llseek and mmap by an mmap2 wrapper). Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/