[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070719095446.EB90C14E04@wotan.suse.de>
Date: Thu, 19 Jul 2007 11:54:46 +0200 (CEST)
From: Andi Kleen <ak@...e.de>
To: khali@...ux-fr.org, patches@...-64.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] [3/58] x86_64: asm/ptrace.h needs linux/compiler.h
From: Jean Delvare <khali@...ux-fr.org>
On x86_64, <asm/ptrace.h> uses __user but doesn't include
<linux/compiler.h>. This could lead to build failures.
Signed-off-by: Jean Delvare <khali@...ux-fr.org>
Signed-off-by: Andi Kleen <ak@...e.de>
---
include/asm-x86_64/ptrace.h | 1 +
1 file changed, 1 insertion(+)
Index: linux/include/asm-x86_64/ptrace.h
===================================================================
--- linux.orig/include/asm-x86_64/ptrace.h
+++ linux/include/asm-x86_64/ptrace.h
@@ -1,6 +1,7 @@
#ifndef _X86_64_PTRACE_H
#define _X86_64_PTRACE_H
+#include <linux/compiler.h> /* For __user */
#include <asm/ptrace-abi.h>
#ifndef __ASSEMBLY__
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists