From: "Andi Kleen" Remove 4/4 support code. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton --- 25-akpm/arch/i386/oprofile/backtrace.c | 13 ------------- 1 files changed, 13 deletions(-) diff -puN arch/i386/oprofile/backtrace.c~x86_64-cleanups-in-new-backtrace-code-in-oprofile arch/i386/oprofile/backtrace.c --- 25/arch/i386/oprofile/backtrace.c~x86_64-cleanups-in-new-backtrace-code-in-oprofile 2005-03-24 18:46:03.000000000 -0800 +++ 25-akpm/arch/i386/oprofile/backtrace.c 2005-03-24 19:23:37.000000000 -0800 @@ -18,7 +18,6 @@ struct frame_head { unsigned long ret; } __attribute__((packed)); - static struct frame_head * dump_backtrace(struct frame_head * head) { @@ -32,16 +31,6 @@ dump_backtrace(struct frame_head * head) return head->ebp; } - -#ifdef CONFIG_X86_4G -/* With a 4G kernel/user split, user pages are not directly - * accessible from the kernel, so don't try - */ -static int pages_present(struct frame_head * head) -{ - return 0; -} -#else /* check that the page(s) containing the frame head are present */ static int pages_present(struct frame_head * head) { @@ -53,8 +42,6 @@ static int pages_present(struct frame_he return check_user_page_readable(mm, (unsigned long)(head + 1)); } -#endif /* CONFIG_X86_4G */ - /* * | | /\ Higher addresses _