[PATCH] kvm: cleanup, use linux/uaccess.h instead of asm/uaccess.h

2010-06-02 Thread Lai Jiangshan
Should use linux/uaccess.h instead of asm/uaccess.h

Signed-off-by: Lai Jiangshan 
---
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 6b2ce1d..ea03def 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -41,13 +41,13 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 
 #define CREATE_TRACE_POINTS
 #include "trace.h"
 
 #include 
-#include 
 #include 
 #include 
 #include 

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] kvm: cleanup, use linux/uaccess.h instead of asm/uaccess.h

2010-06-02 Thread Lai Jiangshan
Lai Jiangshan wrote:
> Should use linux/uaccess.h instead of asm/uaccess.h
> 

checkpatch.pl also suggests it:

./scripts/checkpatch.pl --file arch/x86/kvm/x86.c
WARNING: Use #include  instead of 
#50: FILE: x86/kvm/x86.c:50:
+#include 
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html