]> git.neil.brown.name Git - history.git/commitdiff
[XFS] sparse: fix header include order to get cpp macros defined
authorNathan Scott <nathans@sgi.com>
Thu, 19 Aug 2004 20:35:02 +0000 (06:35 +1000)
committerNathan Scott <nathans@lips.borg.umn.edu>
Thu, 19 Aug 2004 20:35:02 +0000 (06:35 +1000)
correctly.  From Chris Wedgwood.

SGI Modid: xfs-linux:xfs-kern:174816a
Signed-off-by: Nathan Scott <nathans@sgi.com>
fs/xfs/support/ktrace.c
fs/xfs/support/move.c

index 852a92dc0a958b09ba991d3ed763d9a416a3d40c..3dae14c8c55a14eef89683f713e4b5af5f618c2f 100644 (file)
  * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
  */
 
-#include <linux/types.h>
-#include <linux/slab.h>
-
-#include <xfs_types.h>
-#include "kmem.h"
-#include "spin.h"
-#include "debug.h"
-#include "ktrace.h"
+#include <xfs.h>
 
 static kmem_zone_t *ktrace_hdr_zone;
 static kmem_zone_t *ktrace_ent_zone;
index 9f3d2ebb13bfe9012e373e95872a435d81e01980..15b5194f16b29da07d6ffe4fae9f17b354427daa 100644 (file)
  * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
  */
 
-#include <linux/string.h>
-#include <linux/errno.h>
-#include <asm/uaccess.h>
-
-#include <xfs_types.h>
-#include "debug.h"
-#include "move.h"
+#include <xfs.h>
 
 /* Read from kernel buffer at src to user/kernel buffer defined
  * by the uio structure. Advance the pointer in the uio struct