From bcfc0a841586fbf771da6ec966e7bc0badb017b5 Mon Sep 17 00:00:00 2001 From: Peter Mitsis Date: Tue, 26 May 2015 15:35:49 -0400 Subject: [PATCH] Replace PACK_STRUCT with __packed in kernel code The PACK_STRUCT macro is being phased out in favor of using __packed. Change-Id: I4f231ce99d104377436d14c5a8fa3eb0c6513b35 Signed-off-by: Peter Mitsis --- arch/x86/include/gdt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/include/gdt.h b/arch/x86/include/gdt.h index 00fe2f4fbbf..abf2e766aa1 100644 --- a/arch/x86/include/gdt.h +++ b/arch/x86/include/gdt.h @@ -69,7 +69,7 @@ typedef struct s_gdtDesc { * so the aligned attribute is used. */ -typedef struct PACK_STRUCT s_gdtHeader +typedef struct __packed s_gdtHeader { uint16_t limit; /* GDT limit */ tGdtDesc *pEntries; /* pointer to the GDT entries */