[PATCH] unaligned access, fix some includes
From: Harvey Harrison
Date: Wed Apr 09 2008 - 15:46:24 EST
Missed a few includes when moving some files around, this makes it
actually compile.
Signed-off-by: Harvey Harrison <harvey.harrison@xxxxxxxxx>
---
Applies on top of the unaligned access revamp, missed when moving files
around.
include/linux/unaligned/generic_be.h | 2 +-
include/linux/unaligned/generic_le.h | 2 +-
include/linux/unaligned/no_builtin_memcpy.h | 1 +
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/include/linux/unaligned/generic_be.h b/include/linux/unaligned/generic_be.h
index ce42487..dd7e323 100644
--- a/include/linux/unaligned/generic_be.h
+++ b/include/linux/unaligned/generic_be.h
@@ -1,7 +1,7 @@
#ifndef _LINUX_UNALIGNED_GENERIC_BE_H_
#define _LINUX_UNALIGNED_GENERIC_BE_H_
-#include <linux/unaligned/generic.h>
+#include <linux/unaligned/cpu_endian.h>
#include <linux/unaligned/little_endian.h>
#define get_unaligned __get_unaligned_cpu
diff --git a/include/linux/unaligned/generic_le.h b/include/linux/unaligned/generic_le.h
index b57c818..7b7de52 100644
--- a/include/linux/unaligned/generic_le.h
+++ b/include/linux/unaligned/generic_le.h
@@ -1,7 +1,7 @@
#ifndef _LINUX_UNALIGNED_GENERIC_LE_H_
#define _LINUX_UNALIGNED_GENERIC_LE_H_
-#include <linux/unaligned/generic.h>
+#include <linux/unaligned/cpu_endian.h>
#include <linux/unaligned/big_endian.h>
#define get_unaligned __get_unaligned_cpu
diff --git a/include/linux/unaligned/no_builtin_memcpy.h b/include/linux/unaligned/no_builtin_memcpy.h
index 17a6e21..c117e78 100644
--- a/include/linux/unaligned/no_builtin_memcpy.h
+++ b/include/linux/unaligned/no_builtin_memcpy.h
@@ -1,6 +1,7 @@
#ifndef _LINUX_UNALIGNED_NO_BUILTIN_MEMCPY_H_
#define _LINUX_UNALIGNED_NO_BUILTIN_MEMCPY_H_
+#include <linux/kernel.h>
#include <asm/byteorder.h>
#include <asm/string.h>
--
1.5.5.144.g3e42
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/