[PATCH 504] smp_lock.h: Avoid recursive include

From: Geert Uytterhoeven (geert_at_linux-m68k.org)
Date: 10/31/04

  • Next message: Geert Uytterhoeven: "[PATCH 513] M68k: Add defconfig for MVME162, MVME166, and MVME167"
    Date:	Sun, 31 Oct 2004 11:03:39 +0100
    To: Linus Torvalds <torvalds@osdl.org>, Andrew Morton <akpm@osdl.org>
    
    

    smp_lock.h: Avoid recursive include

    Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
    Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>

    --- linux-2.6.10-rc1/include/linux/smp_lock.h 2004-04-28 15:47:31.000000000 +0200
    +++ linux-m68k-2.6.10-rc1/include/linux/smp_lock.h 2004-10-20 22:24:05.000000000 +0200
    @@ -2,7 +2,6 @@
     #define __LINUX_SMPLOCK_H
     
     #include <linux/config.h>
    -#include <linux/sched.h>
     #include <linux/spinlock.h>
     
     #if defined(CONFIG_SMP) || defined(CONFIG_PREEMPT)

    Gr{oetje,eeting}s,

                                                    Geert

    --
    Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
    In personal conversations with technical people, I call myself a hacker. But
    when I'm talking to journalists I just say "programmer" or something like that.
    							    -- Linus Torvalds
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Geert Uytterhoeven: "[PATCH 513] M68k: Add defconfig for MVME162, MVME166, and MVME167"

    Relevant Pages