fix #warning about using kernel headers in userpsace
commit69c8f52b3897f2faf8510ea7ede8fffabe26c531
authorJustin P. Mattock <justinmattock@gmail.com>
Thu, 1 Jul 2010 21:28:27 +0000 (1 14:28 -0700)
committerJiri Kosina <jkosina@suse.cz>
Sun, 11 Jul 2010 19:38:56 +0000 (11 21:38 +0200)
tree89589a401031070707721932421ba7eb1cc85bd6
parent15676295e1189d87b9e5589549492c4f0ae46336
fix #warning about using kernel headers in userpsace

Move the preprocessor #warning message:
warning: #warning Attempt to use kernel headers from user space,
see http://kernelnewbies.org/KernelHeaders
from kernel.h to types.h.

And also fixe the #warning message due to the preprocessor not being able to
read the web address due to it thinking it was the start of a comment.  also
remove the extra #ifndef _KERNEL_ since it's already there.

Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
include/linux/kernel.h
include/linux/types.h