[lkml]   [2007]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [patch 03/18] Dont leak NT bit into next task
    On Wednesday 21 February 2007 02:49, Greg KH wrote:

    > /* frame pointer must be last for get_wchan */
    > -#define SAVE_CONTEXT "pushq %%rbp ; movq %%rsi,%%rbp\n\t"
    > -#define RESTORE_CONTEXT "movq %%rbp,%%rsi ; popq %%rbp\n\t"
    > +#define SAVE_CONTEXT "pushf ; pushq %%rbp ; movq %%rsi,%%rbp\n\t"
    > +#define RESTORE_CONTEXT "movq %%rbp,%%rsi ; popq %%rbp ; popf\t"

    No idea if this is a problem or not, but you forgot a \n after popf.

    Giuseppe "Oblomov" Bilotta

    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-02-21 11:05    [W:0.021 / U:9.220 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site