lkml.org 
[lkml]   [2011]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 1/5] x86-64: Fix alignment of jiffies variable
    Date
    It's declared __attribute__((aligned(16)) but it's explicitly not
    aligned. This is probably harmless but it's a but embarrassing.

    Signed-off-by: Andy Lutomirski <luto@mit.edu>
    ---
    arch/x86/include/asm/vvar.h | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/arch/x86/include/asm/vvar.h b/arch/x86/include/asm/vvar.h
    index 341b355..a4eaca4 100644
    --- a/arch/x86/include/asm/vvar.h
    +++ b/arch/x86/include/asm/vvar.h
    @@ -45,7 +45,7 @@
    /* DECLARE_VVAR(offset, type, name) */

    DECLARE_VVAR(0, volatile unsigned long, jiffies)
    -DECLARE_VVAR(8, int, vgetcpu_mode)
    +DECLARE_VVAR(16, int, vgetcpu_mode)
    DECLARE_VVAR(128, struct vsyscall_gtod_data, vsyscall_gtod_data)

    #undef DECLARE_VVAR
    --
    1.7.5.1


    \
     
     \ /
      Last update: 2011-05-27 19:41    [W:4.244 / U:1.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site