Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

types: Complement the aligned types with signed 64-bit one

Some user may want to use aligned signed 64-bit type.
Provide it for them.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20240903180218.3640501-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Andy Shevchenko and committed by
Jonathan Cameron
e4ca0e59 a1256a0b

+3 -1
+2 -1
include/linux/types.h
··· 115 115 typedef s64 int64_t; 116 116 #endif 117 117 118 - /* this is a special 64bit data type that is 8-byte aligned */ 118 + /* These are the special 64-bit data types that are 8-byte aligned */ 119 119 #define aligned_u64 __aligned_u64 120 + #define aligned_s64 __aligned_s64 120 121 #define aligned_be64 __aligned_be64 121 122 #define aligned_le64 __aligned_le64 122 123
+1
include/uapi/linux/types.h
··· 53 53 * No conversions are necessary between 32-bit user-space and a 64-bit kernel. 54 54 */ 55 55 #define __aligned_u64 __u64 __attribute__((aligned(8))) 56 + #define __aligned_s64 __s64 __attribute__((aligned(8))) 56 57 #define __aligned_be64 __be64 __attribute__((aligned(8))) 57 58 #define __aligned_le64 __le64 __attribute__((aligned(8))) 58 59