Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752271AbcD2RbU (ORCPT ); Fri, 29 Apr 2016 13:31:20 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:56250 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751829AbcD2RbQ (ORCPT ); Fri, 29 Apr 2016 13:31:16 -0400 From: Arnd Bergmann To: Catalin Marinas Cc: Yury Norov , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-s390@vger.kernel.org, pinskia@gmail.com, Prasun.Kapoor@caviumnetworks.com, schwab@suse.de, broonie@kernel.org, linux-doc@vger.kernel.org, heiko.carstens@de.ibm.com, agraf@suse.de, klimov.linux@gmail.com, bamvor.zhangjian@huawei.com, schwidefsky@de.ibm.com, Nathan_Lynch@mentor.com, Philipp Tomsich , joseph@codesourcery.com, christoph.muellner@theobroma-systems.com Subject: Re: [PATCH 24/25] arm64:ilp32: add vdso-ilp32 and use for signal return Date: Fri, 29 Apr 2016 19:30:19 +0200 Message-ID: <1554541.oDP7Ro5zB2@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <20160429160154.GC30316@e104818-lin.cambridge.arm.com> References: <1459894127-17698-1-git-send-email-ynorov@caviumnetworks.com> <1459894127-17698-25-git-send-email-ynorov@caviumnetworks.com> <20160429160154.GC30316@e104818-lin.cambridge.arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:84H+wkv3dsiczuTltIoSFWT/2AlLAF2Ka29KyAwbgy1H4/MdMKd VM3/P57HcPPaZ6gq5Jz+gU3oacSWICnw0sMr0Kn6sS+ylJ5sKrLeAB8DucoQg6dmz5BsL5n SjZYtrYKQPf3eHTyeNS1jD4/+wQcBbU4PqS5raKRUMR1swAC8pOziq/b+K9RLgIFRYkVKJ/ OSY5RI2GYGWXjMDGl+OIg== X-UI-Out-Filterresults: notjunk:1;V01:K0:ww3mbU/3yEo=:P+mgQvSVUH+/dgWgJoZ508 DIiUVvzsYxE6RU9UbA7rSq53QnLk94yr5mNSsieOQnv+ge1bZ8EdlW+iZmiElruKDmhnBTpe5 AEM9WIEMoQRFb+PalL0bdQ9NQH+uSx4eTsEhxK8EIy4Upq44D7nv5ID/plCbuLkeQdav3uU/V 9MiNF5pasJNtfrnq9R3gTijawf8+tXFcUtL+KMpXS6lLaMlJXQBJFZiGzEcQWonBfR8PwhHVP rynl4uoEqB6sUqekkFfGwGMoZr2xLNTwQL8Q3sGr6NXae3PdlawvVM6V5u2TA9RNg0sjRqhJX Nn7/XsQnPN/aNs9aD9GQccZbct47/P+5lxemZXWcvVigFTaGiL01PCf5O0ylotmEkkmtrKRoK 1CL7it48P0I/vwkKWZqR1QMfO5vaZxUByoAYyo/sbHBigjmR30gEngxozgCKu1z8lCLJXu4fT r+AoMD4NQpb0pV97L+g+6d2nMm0TP1PG8qQoZ4I7fKUgXsP/+dtwmNnteI5qPFZyLYRIzB7yT 5pTnXtKQO4Gzcdr4c+YT5+CTxQ8pGXxgUVsbQZ/Gbb9Yazk9rxiNfjno5ylTyGbLGlM/CNb+o p33AN8jN7ckqDgX7uXM4mlgi7l43afszy/+vBb9BJwmFHov/Q/7QOQ6YGIR5fvZ2mS2RFBzE3 2rBBJ7gtC7FdNPudlb7FuIoagrZjA1NmguwlTumA4Qy3BGMzDASgjFJlp9ovlWPKSBF5vMis2 4fPamURvOh4iDqIp Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 741 Lines: 22 On Friday 29 April 2016 17:01:55 Catalin Marinas wrote: > On Wed, Apr 06, 2016 at 01:08:46AM +0300, Yury Norov wrote: > > ILP32 VDSO exports next symbols: > > __kernel_rt_sigreturn; > > __kernel_gettimeofday; > > __kernel_clock_gettime; > > __kernel_clock_getres; > > [...] > > > +$(obj)/gettimeofday-ilp32.o: $(src)/../vdso/gettimeofday.S > > + $(call if_changed_dep,vdso-ilp32as) > > Are struct timeval and timespec the same between ILP32 and LP64? For > example, __kernel_gettimeofday() assumes TVAL_TV_SEC offset defined in > asm-offsets.c based on the LP64 timeval. No, ilp32 uses the generic 32-bit data structures, which have a 32-bit time_t. I guess that means it can work for little-endian but not big-endian, right? Arnd