Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b40c274a authored by David Woodhouse's avatar David Woodhouse Committed by Linus Torvalds
Browse files

[PATCH] headers_check: 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: default avatarDavid Woodhouse <dwmw2@infradead.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent ee6baf88
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -2,7 +2,6 @@
#define _ASMi386_SIGNAL_H
#define _ASMi386_SIGNAL_H


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


@@ -10,6 +9,9 @@
struct siginfo;
struct siginfo;


#ifdef __KERNEL__
#ifdef __KERNEL__

#include <linux/linkage.h>

/* Most things should be clean enough to redefine this at will, if care
/* Most things should be clean enough to redefine this at will, if care
   is taken to make libc match.  */
   is taken to make libc match.  */