CRIS: UAPI: fix ptrace.h
The exported ptrace.h header on CRIS references an "arch" directory which does not exist. Fix this by having the variants in the same directory and including them conditionally, similar to other architectures. Signed-off-by: Rabin Vincent <rabin@rab.in> Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
This commit is contained in:
parent
4b86715748
commit
835e417728
@ -19,7 +19,6 @@
|
||||
#include <asm/processor.h>
|
||||
#include <asm/ucontext.h>
|
||||
#include <asm/uaccess.h>
|
||||
#include <arch/ptrace.h>
|
||||
#include <arch/hwregs/cpu_vect.h>
|
||||
|
||||
extern unsigned long cris_signal_return_page;
|
||||
|
@ -2,7 +2,7 @@
|
||||
#define __ASM_CRIS_ARCH_IRQFLAGS_H
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <arch/ptrace.h>
|
||||
#include <asm/ptrace.h>
|
||||
|
||||
static inline unsigned long arch_local_save_flags(void)
|
||||
{
|
||||
|
@ -19,6 +19,8 @@ header-y += param.h
|
||||
header-y += poll.h
|
||||
header-y += posix_types.h
|
||||
header-y += ptrace.h
|
||||
header-y += ptrace_v10.h
|
||||
header-y += ptrace_v32.h
|
||||
header-y += resource.h
|
||||
header-y += rs485.h
|
||||
header-y += sembuf.h
|
||||
|
@ -1 +1,5 @@
|
||||
#include <arch/ptrace.h>
|
||||
#ifdef __arch_v32
|
||||
#include <asm/ptrace_v32.h>
|
||||
#else
|
||||
#include <asm/ptrace_v10.h>
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user