]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
headers_check fix: nfsd/syscall.h
authorJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Fri, 30 Jan 2009 14:35:27 +0000 (20:05 +0530)
committerJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Fri, 30 Jan 2009 18:00:42 +0000 (23:30 +0530)
fix the following 'make headers_check' warnings:

  usr/include/linux/nfsd/syscall.h:12: include of <linux/types.h> is preferred over <asm/types.h>
  usr/include/linux/nfsd/syscall.h:104: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
include/linux/nfsd/syscall.h

index 4e439765b705e3a01dd3be9559b57d38a70ea445..7a3b565b898f76042d81c5ea00a235bd7dc31b93 100644 (file)
@@ -9,9 +9,8 @@
 #ifndef NFSD_SYSCALL_H
 #define NFSD_SYSCALL_H
 
-#include <asm/types.h>
-#ifdef __KERNEL__
 # include <linux/types.h>
+#ifdef __KERNEL__
 # include <linux/in.h>
 #endif 
 #include <linux/posix_types.h>