include: Add __packed define for packed structures

This patch adds __packed define for specifying packed
attribute of structures.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
This commit is contained in:
Anup Patel 2019-01-14 14:53:52 +05:30 committed by Anup Patel
parent 924a26d82f
commit 4485b5cba8

View file

@ -54,6 +54,7 @@ typedef unsigned long physical_size_t;
#define NULL ((void *)0)
#define __packed __attribute__((packed))
#define __noreturn __attribute__((noreturn))
#endif