lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1207770380.16220.19.camel@brick>
Date:	Wed, 09 Apr 2008 12:46:20 -0700
From:	Harvey Harrison <harvey.harrison@...il.com>
To:	"H. Peter Anvin" <hpa@...or.com>
Cc:	Andrew Morton <akpm@...ux-foundation.org>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	linux-arch <linux-arch@...r.kernel.org>,
	LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH] unaligned access, fix some includes

Missed a few includes when moving some files around, this makes it
actually compile.

Signed-off-by: Harvey Harrison <harvey.harrison@...il.com>
---
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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ