Re: [PATCH resend] asm/types.h: All architectures use int-ll64.h in kernelspace

From: Arnd Bergmann
Date: Sun Feb 12 2012 - 22:00:49 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/