From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752780AbaENDsk (ORCPT ); Tue, 13 May 2014 23:48:40 -0400 Received: from terminus.zytor.com ([198.137.202.10]:49718 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753487AbaENDsf (ORCPT ); Tue, 13 May 2014 23:48:35 -0400 Message-ID: <5372E76C.8050908@zytor.com> Date: Tue, 13 May 2014 20:47:56 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: James Hogan , Ley Foon Tan CC: Linux-Arch , LKML , Chung-Lin Tang , Arnd Bergmann , Thomas Gleixner Subject: Re: [PATCH 01/25] asm-generic: Change time_t and clock_t to 64 bit References: <1399971456-3941-1-git-send-email-lftan@altera.com> <1399971749-4004-1-git-send-email-lftan@altera.com> <5371EAEB.5030100@imgtec.com> <5371F25E.6020805@imgtec.com> In-Reply-To: <5371F25E.6020805@imgtec.com> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/13/2014 03:22 AM, James Hogan wrote: >> When we export this posix_types.h file for user software, they need to >> define this config, eg: CONFIG_32BIT_TIME to use 32 bit time. Is this >> what we want to do? > > Yeh, good point, that won't work. How about: #include The asm-generic/types/ directory can be used for all kinds of type templates, like int-ll64.h and the (now removed) former int-l64.h. -hpa