mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[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: Paolo 'Blaisorblade' Giarrusso <[email protected]> Cc: Jeff Dike <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
8b028bcd0e
commit
493e3758be
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue