[lkml]   [2004]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[PATCH][PPC32] Fix locks.c properly this time
    When I moved the exports into arch/ppc/lib/locks.c, I forgot to
    include module.h, so it doesn't compile (with CONFIG_SMP +
    CONFIG_SPINLOCK_DEBUG). This patch fixes it.

    Signed-off-by: Paul Mackerras <>

    diff -urN linux-2.5/arch/ppc/lib/locks.c pmac-2.5/arch/ppc/lib/locks.c
    --- linux-2.5/arch/ppc/lib/locks.c 2004-06-04 07:19:00.606966040 +1000
    +++ pmac-2.5/arch/ppc/lib/locks.c 2004-06-03 22:26:37.000000000 +1000
    @@ -7,6 +7,7 @@
    #include <linux/config.h>
    #include <linux/sched.h>
    #include <linux/spinlock.h>
    +#include <linux/module.h>
    #include <asm/ppc_asm.h>
    #include <asm/smp.h>

    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: 2005-03-22 14:03    [W:0.018 / U:17.656 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site