Commit fcba7f19 authored by Nathan Scott's avatar Nathan Scott Committed by Nathan Scott

[XFS] sparse: fix header include order to get cpp macros defined

correctly.  From Chris Wedgwood.

SGI Modid: xfs-linux:xfs-kern:174816a
Signed-off-by: default avatarNathan Scott <nathans@sgi.com>
parent 7c5b45b3
...@@ -30,14 +30,7 @@ ...@@ -30,14 +30,7 @@
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/ */
#include <linux/types.h> #include <xfs.h>
#include <linux/slab.h>
#include <xfs_types.h>
#include "kmem.h"
#include "spin.h"
#include "debug.h"
#include "ktrace.h"
static kmem_zone_t *ktrace_hdr_zone; static kmem_zone_t *ktrace_hdr_zone;
static kmem_zone_t *ktrace_ent_zone; static kmem_zone_t *ktrace_ent_zone;
......
...@@ -30,13 +30,7 @@ ...@@ -30,13 +30,7 @@
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/ */
#include <linux/string.h> #include <xfs.h>
#include <linux/errno.h>
#include <asm/uaccess.h>
#include <xfs_types.h>
#include "debug.h"
#include "move.h"
/* Read from kernel buffer at src to user/kernel buffer defined /* Read from kernel buffer at src to user/kernel buffer defined
* by the uio structure. Advance the pointer in the uio struct * by the uio structure. Advance the pointer in the uio struct
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment