]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2d316ec7406f33eaad9a5b52750161f49dfaf3de
tree6054ebe6156c629234fcd5523a702b6703e0f017
parentcc5faa2d20cfcb90cfc2d6f42d09981f4e24edce
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