Skip to content

Commit

Permalink
[PATCH] uml: reenable compilation of enable_timer, disabled by mistake
Browse files Browse the repository at this point in the history
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: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Paolo 'Blaisorblade' Giarrusso authored and Linus Torvalds committed Oct 20, 2006
1 parent 8b028bc commit 493e375
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/um/os-Linux/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include "process.h"
#include "kern_constants.h"
#include "os.h"
#include "uml-config.h"

int set_interval(int is_virtual)
{
Expand All @@ -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);
Expand Down

0 comments on commit 493e375

Please sign in to comment.