Messages in this thread Patch in this message | | | From | monstr@monstr ... | Subject | [PATCH 1/1] loop.h use __kernel_old_dev_t which is not possible use on arch which don't have it.. | Date | Fri, 13 Mar 2009 12:12:43 +0100 |
| |
From: Michal Simek <monstr@monstr.eu>
This patch is for incomming Microblaze arch.
Signed-off-by: Michal Simek <monstr@monstr.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
| |