ChangeSet 1.2231.1.69, 2005/03/28 19:35:48-08:00, [EMAIL PROTECTED]

        [PATCH] x86_64: Cleanups in new backtrace code in oprofile
        
        Remove 4/4 support code.
        
        Signed-off-by: Andi Kleen <[EMAIL PROTECTED]>
        Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
        Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>



 backtrace.c |   13 -------------
 1 files changed, 13 deletions(-)


diff -Nru a/arch/i386/oprofile/backtrace.c b/arch/i386/oprofile/backtrace.c
--- a/arch/i386/oprofile/backtrace.c    2005-03-28 21:21:43 -08:00
+++ b/arch/i386/oprofile/backtrace.c    2005-03-28 21:21:43 -08:00
@@ -18,7 +18,6 @@
        unsigned long ret;
 } __attribute__((packed));
 
-
 static struct frame_head *
 dump_backtrace(struct frame_head * head)
 {
@@ -32,16 +31,6 @@
        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 @@
 
        return check_user_page_readable(mm, (unsigned long)(head + 1));
 }
-#endif /* CONFIG_X86_4G */
-
 
 /*
  * |             | /\ Higher addresses
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to