um: Stop abusing __KERNEL__
authorRichard Weinberger <richard@nod.at>
Sun, 31 May 2015 17:50:57 +0000 (19:50 +0200)
committerRichard Weinberger <richard@nod.at>
Sun, 31 May 2015 20:05:32 +0000 (22:05 +0200)
commit298e20ba8c197e8d429a6c8671550c41c7919033
tree58010c4512a36344c15defaeb6998d9344714810
parentd2313084e2c3488e254796617fcda45d69731b21
um: Stop abusing __KERNEL__

Currently UML is abusing __KERNEL__ to distinguish between
kernel and host code (os-Linux). It is better to use a custom
define such that existing users of __KERNEL__ don't get confused.

Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/Makefile
arch/um/drivers/mconsole.h
arch/um/include/shared/init.h
arch/um/include/shared/user.h
arch/x86/um/shared/sysdep/tls.h