lkml.org 
[lkml]   [2008]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectCompile bug in 2.6.24.8-rt7 on ARM
    Hello Steven,

    Now I started looking at compiling 2.6.24.7-rt8 for ARM, and I found
    another compile problem... ;-))

    This one:
    CC arch/arm/kernel/process.o
    arch/arm/kernel/process.c: In function 'cpu_idle':
    arch/arm/kernel/process.c:175: error: implicit declaration of function
    'trace_preempt_exit_idle'
    arch/arm/kernel/process.c:180: error: implicit declaration of function
    'trace_preempt_enter_idle'

    These function do not appear to exist _anywhere_ in the kernel.
    So these calls can safely be removed, I guess.

    The offending patch can be found in the broken-out set under the name
    arm-trace-preempt-idle.patch.
    Attached you can find a fix for it (I expect that you will not need it)


    Kind Regards,

    Remy
    This patch fixes this compile error in 2.6.24.7-rt8:
    CC arch/arm/kernel/process.o
    arch/arm/kernel/process.c: In function 'cpu_idle':
    arch/arm/kernel/process.c:175: error: implicit declaration of function 'trace_preempt_exit_idle'
    arch/arm/kernel/process.c:180: error: implicit declaration of function 'trace_preempt_enter_idle'

    Signed-off-by: Remy Bohmer <linux@bohmer.net>
    ---
    arch/arm/kernel/process.c | 2 --
    1 file changed, 2 deletions(-)

    Index: linux-2.6.24/arch/arm/kernel/process.c
    ===================================================================
    --- linux-2.6.24.orig/arch/arm/kernel/process.c 2008-05-20 22:06:33.000000000 +0200
    +++ linux-2.6.24/arch/arm/kernel/process.c 2008-05-20 22:30:37.000000000 +0200
    @@ -172,12 +172,10 @@ void cpu_idle(void)
    idle();
    leds_event(led_idle_end);
    local_irq_disable();
    - trace_preempt_exit_idle();
    tick_nohz_restart_sched_tick();
    __preempt_enable_no_resched();
    __schedule();
    preempt_disable();
    - trace_preempt_enter_idle();
    local_irq_enable();
    }
    }
    \
     
     \ /
      Last update: 2008-05-20 22:41    [W:0.034 / U:63.624 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site