kbuild: add checks for include of linux/types in userspace headers
authorSam Ravnborg <sam@ravnborg.org>
Tue, 30 Dec 2008 10:34:58 +0000 (11:34 +0100)
committerSam Ravnborg <sam@ravnborg.org>
Fri, 2 Jan 2009 19:43:26 +0000 (20:43 +0100)
If we see __[us](8|16|32|64) then we must include <linux/types.h>
If wee see include of <asm/types.h> then we recommend <linux/types.h>

Original script from Mike but modified by me.

Cc: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/headers_check.pl

Simple merge