[lkml]   [2006]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[PATCH] [3/6] Move inclusion of <linux/linkage.h> in <asm-i386/signal.h>
    Because <linux/linkage.h> doesn't exist in userspace, it should be only
    included from within #ifdef __KERNEL__. Move the corresponding #include

    Signed-off-by: David Woodhouse <>

    diff --git a/include/asm-i386/signal.h b/include/asm-i386/signal.h
    index 3824a50..c3e8ade 100644
    --- a/include/asm-i386/signal.h
    +++ b/include/asm-i386/signal.h
    @@ -2,7 +2,6 @@ #ifndef _ASMi386_SIGNAL_H
    #define _ASMi386_SIGNAL_H

    #include <linux/types.h>
    -#include <linux/linkage.h>
    #include <linux/time.h>
    #include <linux/compiler.h>

    @@ -10,6 +9,9 @@ #include <linux/compiler.h>
    struct siginfo;

    #ifdef __KERNEL__
    +#include <linux/linkage.h>
    /* Most things should be clean enough to redefine this at will, if care
    is taken to make libc match. */


    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: 2006-09-09 13:31    [W:0.019 / U:0.980 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site