uml: redo host capability detection and disabling
authorJeff Dike <jdike@addtoit.com>
Mon, 12 May 2008 21:01:47 +0000 (14:01 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 13 May 2008 15:02:21 +0000 (08:02 -0700)
commit53c258787427ea43ebfa76fefa6534cae507e521
tree6054ebe6156c629234fcd5523a702b6703e0f017
parentc714a534d85576af21b06be605ca55cb2fb887ee
uml: redo host capability detection and disabling

Redo how host capabilities are recorded at startup and disabled on the
command line.

There are now explicit variables saying what's been disabled by the
command line rather than the implicitness of the have_* variable being
zero.  The capability variables now start at zero and are set to one
as their capabilities are found to be present on the host.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/os-Linux/start_up.c