Re: [PATCH resend] asm/types.h: All architectures use int-ll64.h in kernelspace
From: Arnd Bergmann <arnd@arndb.de>
Date: 2012-02-13 03:00:07
Also in:
lkml
From: Arnd Bergmann <arnd@arndb.de>
Date: 2012-02-13 03:00:07
Also in:
lkml
On Saturday 11 February 2012, Al Viro wrote:
Umm... That has happened and yes, asm-generic/types.h is currently equivalent to asm-generic/int-ll64.h. What exactly are you planning to do? Just rename the latter to the former and do search-and-replace over the tree? We still have places that pull int-l64.h, albeit only !__KERNEL__ ones (i.e. everything under #ifdef __KERNEL__ in there seems to be killable)... AFAICS, for quite a few of those guys we can simply add bitsperlong.h and add types.h to generic-y; is that the plan?
Yes, I think both would be good cleanups. Maybe David Howells can comment as well since his user api split is going to change that a bit: We end up needing only a separate version of uapi/asm/types.h for alpha/ia64/mips64/powerpc64, while the in-kernel file is ok. Arnd