Commit 9d531cc1 authored by Jean Delvare's avatar Jean Delvare Committed by Linus Torvalds

x86_64: asm/ptrace.h needs linux/compiler.h

On x86_64, <asm/ptrace.h> uses __user but doesn't include
<linux/compiler.h>.  This could lead to build failures.
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 65d2f0bc
#ifndef _X86_64_PTRACE_H #ifndef _X86_64_PTRACE_H
#define _X86_64_PTRACE_H #define _X86_64_PTRACE_H
#include <linux/compiler.h> /* For __user */
#include <asm/ptrace-abi.h> #include <asm/ptrace-abi.h>
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment