Skip to content

Commit

Permalink
[PATCH] headers_check: move inclusion of <linux/linkage.h> in <asm-i3…
Browse files Browse the repository at this point in the history
…86/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 <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
David Woodhouse authored and Linus Torvalds committed Sep 13, 2006
1 parent ee6baf8 commit b40c274
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/asm-i386/signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@
#define _ASMi386_SIGNAL_H

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

/* Avoid too many header ordering problems. */
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. */

Expand Down

0 comments on commit b40c274

Please sign in to comment.