[lkml]   [2006]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[PATCH 06/10] uml: reenable compilation of enable_timer, disabled by mistake
    From: Paolo 'Blaisorblade' Giarrusso <>

    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 <>

    arch/um/os-Linux/time.c | 3 ++-
    1 files changed, 2 insertions(+), 1 deletions(-)

    diff --git a/arch/um/os-Linux/time.c b/arch/um/os-Linux/time.c
    index 38be096..2115b8b 100644
    --- a/arch/um/os-Linux/time.c
    +++ b/arch/um/os-Linux/time.c
    @@ -16,6 +16,7 @@ #include "user.h"
    #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)
    Chiacchiera con i tuoi amici in tempo reale!*
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2006-10-17 23:31    [W:0.029 / U:3.112 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site