提交 493e3758 编写于 作者: P Paolo 'Blaisorblade' Giarrusso 提交者: Linus Torvalds

[PATCH] uml: reenable compilation of enable_timer, disabled by mistake

CONFIG_MODE_TT does not work there, the UML_ prefixed version must be used -
this causes a link-time failure when CONFIG_MODE_TT is enabled (i.e.  always
here, never by Jeff).
Signed-off-by: NPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 8b028bcd
......@@ -16,6 +16,7 @@
#include "process.h"
#include "kern_constants.h"
#include "os.h"
#include "uml-config.h"
int set_interval(int is_virtual)
{
......@@ -30,7 +31,7 @@ int set_interval(int is_virtual)
return 0;
}
#ifdef CONFIG_MODE_TT
#ifdef UML_CONFIG_MODE_TT
void enable_timer(void)
{
set_interval(1);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册