Skip to content

Commit

Permalink
profile: don't include <asm/ptrace.h> twice.
Browse files Browse the repository at this point in the history
Currently, kernel/profile.c include <asm/ptrace.h> twice.  It can be
removed.

Signed-off-by: KOSAKI Motohiro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
kosaki authored and torvalds committed Jan 6, 2009
1 parent d2e3192 commit 26e5438
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion kernel/profile.c
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,6 @@ void profile_tick(int type)
#ifdef CONFIG_PROC_FS
#include <linux/proc_fs.h>
#include <asm/uaccess.h>
#include <asm/ptrace.h>

static int prof_cpu_mask_read_proc(char *page, char **start, off_t off,
int count, int *eof, void *data)
Expand Down

0 comments on commit 26e5438

Please sign in to comment.