mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
Fix 'make headers_check' on m32r
> asm-m32r/page.h requires asm-generic/memory_model.h, which does not exist > asm-m32r/ptrace.h requires asm/m32r.h, which does not exist > asm-m32r/signal.h requires linux/linkage.h, which does not exist > asm-m32r/unistd.h requires asm/syscall.h, which does not exist > asm-m32r/user.h requires asm/processor.h, which does not exist Signed-off-by: Hirokazu Takata <takata@linux-m32r.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
parent
029669da25
commit
47dbec79d1
@ -87,10 +87,9 @@ typedef struct { unsigned long pgprot; } pgprot_t;
|
|||||||
|
|
||||||
#define devmem_is_allowed(x) 1
|
#define devmem_is_allowed(x) 1
|
||||||
|
|
||||||
#endif /* __KERNEL__ */
|
|
||||||
|
|
||||||
#include <asm-generic/memory_model.h>
|
#include <asm-generic/memory_model.h>
|
||||||
#include <asm-generic/page.h>
|
#include <asm-generic/page.h>
|
||||||
|
|
||||||
|
#endif /* __KERNEL__ */
|
||||||
#endif /* _ASM_M32R_PAGE_H */
|
#endif /* _ASM_M32R_PAGE_H */
|
||||||
|
|
||||||
|
@ -12,8 +12,6 @@
|
|||||||
* Copyright (C) 2001-2002, 2004 Hirokazu Takata <takata at linux-m32r.org>
|
* Copyright (C) 2001-2002, 2004 Hirokazu Takata <takata at linux-m32r.org>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <asm/m32r.h> /* M32R_PSW_BSM, M32R_PSW_BPM */
|
|
||||||
|
|
||||||
/* 0 - 13 are integer registers (general purpose registers). */
|
/* 0 - 13 are integer registers (general purpose registers). */
|
||||||
#define PT_R4 0
|
#define PT_R4 0
|
||||||
#define PT_R5 1
|
#define PT_R5 1
|
||||||
@ -140,6 +138,8 @@ struct pt_regs {
|
|||||||
|
|
||||||
#ifdef __KERNEL__
|
#ifdef __KERNEL__
|
||||||
|
|
||||||
|
#include <asm/m32r.h> /* M32R_PSW_BSM, M32R_PSW_BPM */
|
||||||
|
|
||||||
#define __ARCH_SYS_PTRACE 1
|
#define __ARCH_SYS_PTRACE 1
|
||||||
|
|
||||||
#if defined(CONFIG_ISA_M32R2) || defined(CONFIG_CHIP_VDEC2)
|
#if defined(CONFIG_ISA_M32R2) || defined(CONFIG_CHIP_VDEC2)
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
/* orig : i386 2.4.18 */
|
/* orig : i386 2.4.18 */
|
||||||
|
|
||||||
#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>
|
||||||
|
|
||||||
|
@ -3,8 +3,6 @@
|
|||||||
|
|
||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
|
|
||||||
#include <asm/syscall.h> /* SYSCALL_* */
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file contains the system call numbers.
|
* This file contains the system call numbers.
|
||||||
*/
|
*/
|
||||||
@ -303,6 +301,8 @@
|
|||||||
* <asm-m32r/errno.h>
|
* <asm-m32r/errno.h>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <asm/syscall.h> /* SYSCALL_* */
|
||||||
|
|
||||||
#define __syscall_return(type, res) \
|
#define __syscall_return(type, res) \
|
||||||
do { \
|
do { \
|
||||||
if ((unsigned long)(res) >= (unsigned long)(-(124 + 1))) { \
|
if ((unsigned long)(res) >= (unsigned long)(-(124 + 1))) { \
|
||||||
|
@ -8,7 +8,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
#include <asm/processor.h>
|
|
||||||
#include <asm/ptrace.h>
|
#include <asm/ptrace.h>
|
||||||
#include <asm/page.h>
|
#include <asm/page.h>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user