[lkml]   [2007]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] x86_64 RESTORE_CONTEXT missing '\n'
    Andi Kleen wrote:
    > On Wednesday 07 March 2007 21:45, Dave Jiang wrote:
    >> The RESTORE_CONTEXT macro is missing the '\n' at the end. It was removed in the
    >> previous patch that touched system.h. It causes compile failure if any
    >> inline asm is added after the macro. Discovered this when playing with
    >> kgdb.
    > We went through this several times. kgdb has no business to poke
    > into kernel private macros like this and it shouldn't do that.
    > So fixing kgdb to not require touching the context switch is the right
    > change.
    > -Andi

    In spite of kgdb, shouldn't it have that \n anyways in case some other code
    gets added in the future after the macro? Or are you saying that there should
    never be any code ever after that macro?


    Dave Jiang
    Software Engineer
    MontaVista Software, Inc.

    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: 2007-03-08 18:47    [W:0.020 / U:4.620 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site