uml: fix build for !CONFIG_PRINTK
authorJeff Dike <jdike@addtoit.com>
Thu, 15 Nov 2007 01:00:31 +0000 (17:00 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 15 Nov 2007 02:45:43 +0000 (18:45 -0800)
commit9c8d6381dc107dbc2bfdbfdcaefe0d42e5b5b362
treef613029815e77425df72062ba201d62da01995ee
parent32f862c310cbd0b430a14911c8b7e2cd415c56ea
uml: fix build for !CONFIG_PRINTK

Handle the case of CONFIG_PRINTK being disabled.  This requires a do-nothing
stub to be present in arch/um/include/user.h so that we don't get references
to printk from libc code.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/include/user.h