]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
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)
commit483b41218fa9d5172312a9e294aaf78e22b266e6
tree03c10a53e3b9a35b9bab8e4d81b35e0a086a873a
parent521b0c774d1350aac18f5cd35831469a4e879d72
kbuild: add checks for include of linux/types in userspace headers

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