Browse Source

headers_check fix: powerpc, spu_info.h

fix the following 'make headers_check' warning:

  usr/include/asm-powerpc/spu_info.h:27: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Jaswinder Singh Rajput 16 years ago
parent
commit
1a16bc4590
1 changed files with 2 additions and 1 deletions
  1. 2 1
      arch/powerpc/include/asm/spu_info.h

+ 2 - 1
arch/powerpc/include/asm/spu_info.h

@@ -23,9 +23,10 @@
 #ifndef _SPU_INFO_H
 #define _SPU_INFO_H
 
+#include <linux/types.h>
+
 #ifdef __KERNEL__
 #include <asm/spu.h>
-#include <linux/types.h>
 #else
 struct mfc_cq_sr {
 	__u64 mfc_cq_data0_RW;