[lkml]   [2007]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[PATCH] powerpc swsusp: make altivec code depend on CONFIG_ALTIVEC
    This makes the altivec code in swsusp_32.S depend on CONFIG_ALTIVEC to
    avoid build failures for systems that don't have altivec. I'm not sure
    whether the code will actually work for other systems, but it was merged
    for just ppc32 rather than powermac a very long time ago.

    Signed-off-by: Johannes Berg <>

    --- everything.orig/arch/powerpc/kernel/swsusp_32.S 2007-11-07 13:27:12.441517359 +0100
    +++ everything/arch/powerpc/kernel/swsusp_32.S 2007-11-07 13:27:25.251519911 +0100
    @@ -133,10 +133,12 @@ _GLOBAL(swsusp_arch_suspend)
    /* Resume code */

    +#ifdef CONFIG_ALTIVEC
    /* Stop pending alitvec streams and memory accesses */

    /* Disable MSR:DR to make sure we don't take a TLB or

    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-11-07 16:07    [W:0.018 / U:18.316 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site