Commit:     8a697d0a4c8e7ed51cf71a467ad59c25bfb85b44
Parent:     233c2f99d6605343fa4a4c68560a4f74882b2693
Author:     Horms <[EMAIL PROTECTED]>
AuthorDate: Mon Feb 5 10:17:22 2007 +0900
Committer:  Tony Luck <[EMAIL PROTECTED]>
CommitDate: Mon Feb 5 11:31:04 2007 -0800

    [IA64] kexec: Minor enhancement to includes in crash.c
    linux/uaccess.h was being included, but it seems that
    really the following includes are needed.
    asm/page.h: for __va() and PAGE_SHIFT
    asm/uaccess.h: for copy_to_user()
    I guess that linux/uaccess.h pulls in both asm/page.h and asm/uaccess.h.
    I notices this while backporting the code to xen's linux-,
    which does not have linux/uaccess.h. I'm posting it as I think it is a
    correct, though somewhat cosmetic fix.
    Signed-off-by: Simon Horman <[EMAIL PROTECTED]>
    Signed-off-by: Tony Luck <[EMAIL PROTECTED]>
 arch/ia64/kernel/crash_dump.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/arch/ia64/kernel/crash_dump.c b/arch/ia64/kernel/crash_dump.c
index 83b8c91..da60e90 100644
--- a/arch/ia64/kernel/crash_dump.c
+++ b/arch/ia64/kernel/crash_dump.c
@@ -9,7 +9,8 @@
 #include <linux/errno.h>
 #include <linux/types.h>
-#include <linux/uaccess.h>
+#include <asm/page.h>
+#include <asm/uaccess.h>
  * copy_oldmem_page - copy one page from "oldmem"
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to