Skip to content

Commit

Permalink
Fix 'make headers_check' on sh
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Mundt authored and David Woodhouse committed Sep 21, 2006
1 parent 6ff6340 commit b5233d0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions arch/sh/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#include <asm/uaccess.h>
#include <asm/mmu_context.h>
#include <asm/elf.h>
#include <asm/ubc.h>

static int hlt_counter=0;

Expand Down
3 changes: 1 addition & 2 deletions include/asm-sh/page.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,8 @@ typedef struct { unsigned long pgprot; } pgprot_t;
#define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \
VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)

#endif /* __KERNEL__ */

#include <asm-generic/memory_model.h>
#include <asm-generic/page.h>

#endif /* __KERNEL__ */
#endif /* __ASM_SH_PAGE_H */
2 changes: 0 additions & 2 deletions include/asm-sh/ptrace.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#ifndef __ASM_SH_PTRACE_H
#define __ASM_SH_PTRACE_H

#include <asm/ubc.h>

/*
* Copyright (C) 1999, 2000 Niibe Yutaka
*
Expand Down

0 comments on commit b5233d0

Please sign in to comment.