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>] [day] [month] [year] [list]
Date:	Fri, 13 Mar 2009 12:12:43 +0100
From:	monstr@...str.eu
To:	linux-kernel@...r.kernel.org
Cc:	michal.simek@...alogix.com, Michal Simek <monstr@...str.eu>
Subject: [PATCH 1/1] loop.h use __kernel_old_dev_t which is not possible use on arch which don't have it..

From: Michal Simek <monstr@...str.eu>

This patch is for incomming Microblaze arch.

Signed-off-by: Michal Simek <monstr@...str.eu>
---
 include/linux/loop.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/linux/loop.h b/include/linux/loop.h
index 6ffd6db..fdbabd2 100644
--- a/include/linux/loop.h
+++ b/include/linux/loop.h
@@ -82,6 +82,7 @@ enum {
 #include <asm/posix_types.h>	/* for __kernel_old_dev_t */
 #include <linux/types.h>	/* for __u64 */
 
+#ifdef __kernel_old_dev_t
 /* Backwards compatibility version */
 struct loop_info {
 	int		   lo_number;		/* ioctl r/o */
@@ -97,6 +98,7 @@ struct loop_info {
 	unsigned long	   lo_init[2];
 	char		   reserved[4];
 };
+#endif
 
 struct loop_info64 {
 	__u64		   lo_device;			/* ioctl r/o */
-- 
1.5.5.1

--
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