The patch titled
linux/types.h: always export 64bit aligned defines
has been removed from the -mm tree. Its filename was
linux-typesh-always-export-64bit-aligned-defines.patch
This patch was dropped because a stealth merge from the networking guys wrecked
it
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: linux/types.h: always export 64bit aligned defines
From: Mike Frysinger <[EMAIL PROTECTED]>
Some kernel headers exported to userspace rely on these 64bit aligned
defines. However, they are hidden behind __KERNEL_STRICT_NAMES at the
moment which means most of the time, they're never actually available.
These these defines dont actually conflict with normal userspace / C
library types, there's no reason to hide them behind the
__KERNEL_STRICT_NAMES define.
Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]>
Cc: Sam Ravnborg <[EMAIL PROTECTED]>
Cc: David Woodhouse <[EMAIL PROTECTED]>
Cc: Jan Engelhardt <[EMAIL PROTECTED]>
Cc: Patrick McHardy <[EMAIL PROTECTED]>
Cc: David S. Miller <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
include/linux/types.h | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff -puN
include/linux/types.h~linux-typesh-always-export-64bit-aligned-defines
include/linux/types.h
--- a/include/linux/types.h~linux-typesh-always-export-64bit-aligned-defines
+++ a/include/linux/types.h
@@ -125,11 +125,6 @@ typedef __u64 u_int64_t;
typedef __s64 int64_t;
#endif
-/* this is a special 64bit data type that is 8-byte aligned */
-#define aligned_u64 unsigned long long __attribute__((aligned(8)))
-#define aligned_be64 __be64 __attribute__((aligned(8)))
-#define aligned_le64 __le64 __attribute__((aligned(8)))
-
/**
* The type used for indexing onto a disc or disc partition.
*
@@ -161,6 +156,11 @@ typedef unsigned long blkcnt_t;
#endif /* __KERNEL_STRICT_NAMES */
+/* this is a special 64bit data type that is 8-byte aligned */
+#define aligned_u64 unsigned long long __attribute__((aligned(8)))
+#define aligned_be64 __be64 __attribute__((aligned(8)))
+#define aligned_le64 __le64 __attribute__((aligned(8)))
+
/*
* Below are truly Linux-specific types that should never collide with
* any application/library that wants linux/types.h.
_
Patches currently in -mm which might be from [EMAIL PROTECTED] are
origin.patch
rtc-update-documentation-wrt-irq_set_freq.patch
rtc-cleanup-example-code.patch
asm-posix_typesh-scrub-__glibc__.patch
procfs-constify-function-pointer-tables.patch
remove-__strict_ansi__-from-linux-typesh.patch
linux-typesh-always-export-64bit-aligned-defines.patch
drop-linux-ufs_fsh-from-userspace-export-and-relocate-it-to-fs-ufs-ufs_fsh.patch
use-__u32-in-linux-reiserfs_fsh.patch
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html