Commit 17253103 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

include/linux/unaligned/packed_struct.h: use __packed

Cc: Will Newton <will.newton@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 049763db
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
#include <linux/kernel.h> #include <linux/kernel.h>
struct __una_u16 { u16 x; } __attribute__((packed)); struct __una_u16 { u16 x; } __packed;
struct __una_u32 { u32 x; } __attribute__((packed)); struct __una_u32 { u32 x; } __packed;
struct __una_u64 { u64 x; } __attribute__((packed)); struct __una_u64 { u64 x; } __packed;
static inline u16 __get_unaligned_cpu16(const void *p) static inline u16 __get_unaligned_cpu16(const void *p)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment