Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752668AbbKKUqj (ORCPT ); Wed, 11 Nov 2015 15:46:39 -0500 Received: from mout.kundenserver.de ([212.227.17.24]:61044 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751522AbbKKUqi (ORCPT ); Wed, 11 Nov 2015 15:46:38 -0500 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Cc: Andreas Schwab , 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 Date: Wed, 11 Nov 2015 21:40:32 +0100 Message-ID: <20577001.4Nl3YnQ8k2@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: References: <1446507046-24604-1-git-send-email-ynorov@caviumnetworks.com> <1446507046-24604-14-git-send-email-ynorov@caviumnetworks.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:boPiNw8jGu1PaKg4ns6dxqyN+/y8T8k4lE700XZbz6utoGo7sBk aJVHarSoQWeGLxPQfCGz/mzctmkFAr8DUZtUCb5BJdycXCiZ7rv3bvptvZHTjDVneH+7vSk gwrkdznfcgu+gvuwTFwjHaiq0W8dIP3CLN5R5nadSRfSTUQO7zVWC8W7qTt4KxhCGzdvT8v SQ7v6YY7gawbj5sJgG2Gw== X-UI-Out-Filterresults: notjunk:1;V01:K0:Ntq5sZFCXGg=:xh3mT3HTqK08Ma2OMBQJ5x e92aIqbYyq13sx1VbY9D5oudrjsaqfwjSJ/7ujx5Kp+PfWAnTdwEIRoQBkOZgVXVIC29CKM1j kvvMYovNcyrO/qmLxwgSRzIiWYLLnZH/UsrZ9RLnKAPeqyazKSQfZKiT3FmlDS4bfuvY9sBBE CU6htdtBivfJ9jbgIr8Gn6zr4RG8E/veNsr/nPRz5cweNq4CMRFJh4LuMrnR8dltziMzNfC1k bbfeLZRxqcH/xCEclewMqEDgdREqIddFzKBYHQtxjwqzUACnBx6wgnNSEOsNTHnD7q58QQZyW UA3DD9KbbXGBCOHTATxVueWNv4OKdHJ0/VcwkgxhzLMKBgotltb/h1dX+TgjlFw7twaHt+odJ 8XXu8MvuKjDQElJ/E9uHaDkOgJJip46Ib1TGDhCGSa54Qvud6iS9Y+ZxXX4YHk/fQpOLt8h3q 6rwgHHLP2D8zHHepZuTbtTdmPwQkNNu44h97aFTSuWF30MSNxnpPewJ5BKEhs60DYL1qp4Hge egJtZIDMLEgQUZctfL6t5B0IUh0JgaQpRjTmToArXfayHXiwODSvcnPStoay7lPTPmb8wYvnu BZ562iDtR//CSo97e59OQxo2OnLA+WiIszW3aqoxI+B3eDwHsKY/U04kSQBonNvhjis8kgSSC 9Gh4BQZx7Cw93wuf1jZYhAP6MYha2zVyUYeyp/iPMnobi7mbWl8e9zJYkqxz/KRJYNbS+uTmC yCyyjstJNvbIsmbp Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 741 Lines: 18 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). Arnd -- 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/