Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Fix 'make headers_check' on sh

Cleanup for user headers, as noted:

asm-sh/page.h requires asm-generic/memory_model.h, which does not exist in exported headers
asm-sh/ptrace.h requires asm/ubc.h, which does not exist in exported headers

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>

authored by

Paul Mundt and committed by
David Woodhouse
b5233d07 6ff6340a

+2 -4
+1
arch/sh/kernel/process.c
··· 26 26 #include <asm/uaccess.h> 27 27 #include <asm/mmu_context.h> 28 28 #include <asm/elf.h> 29 + #include <asm/ubc.h> 29 30 30 31 static int hlt_counter=0; 31 32
+1 -2
include/asm-sh/page.h
··· 112 112 #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \ 113 113 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) 114 114 115 - #endif /* __KERNEL__ */ 116 - 117 115 #include <asm-generic/memory_model.h> 118 116 #include <asm-generic/page.h> 119 117 118 + #endif /* __KERNEL__ */ 120 119 #endif /* __ASM_SH_PAGE_H */
-2
include/asm-sh/ptrace.h
··· 1 1 #ifndef __ASM_SH_PTRACE_H 2 2 #define __ASM_SH_PTRACE_H 3 3 4 - #include <asm/ubc.h> 5 - 6 4 /* 7 5 * Copyright (C) 1999, 2000 Niibe Yutaka 8 6 *