From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752685AbdGYP3L (ORCPT ); Tue, 25 Jul 2017 11:29:11 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:58040 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752539AbdGYP3H (ORCPT ); Tue, 25 Jul 2017 11:29:07 -0400 From: Arnd Bergmann To: Josh Poimboeuf Cc: Arnd Bergmann , Ingo Molnar , linux-kernel@vger.kernel.org Subject: [PATCH] objtool: make orc_types.h headers match Date: Tue, 25 Jul 2017 17:28:48 +0200 Message-Id: <20170725152858.21264-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:e1IdBPNBfOwB5qFoWPnSLTjy++aygGwNeS/nsrotCkoHIyZX2hP W2FltfzFLFSU3yWB0C0qxIcLkimSUgqq+C0gqIC3fDfG6OIuH0FyiaRBud2jzWxviO4Ubms hRET2AViDMeNCxG6j5SCDL4VlaR3+KR1LgbpRdq0zPzV9w4Fid0zOzDb67AQ3atRYnAylTQ MkF5/ERETjjqJCseVG1fA== X-UI-Out-Filterresults: notjunk:1;V01:K0:BVLD0tgUa1Q=:GdjIuDLywAW2P5iJ3dwU+b ZbTFwxWFCl1GLsKpvZiV5Ujk4PnwzFd+nVM4DG/ETBS1N29djC++7veLBauET2zrR0KAE/6UA pJhadA3ydvV7eZAUgEyepwABKKYUaqin6T+qbodpVu8sdWEcexp7lHW8jQvxd52oYsF6Cy68S mN8QXPswAaxl4vOeneONmDuA9RD0bW06wGLyHWR0eIthg+bYP7bdbzWcyEYgVo9w+zBQSiJFV UnGOYKl8Q+d0/rfWKqmgDlxqbttCoxdMnh+pqo9z9uJylGO/C49chnTvb4kkUNPs0ixTo9QBU PGKDSdfrixzwca1feB5FEgtwJWZSwf6iFwxtSKaDuJjIN6fk/R+z55xcHWNakhIFSD5f6TwQH elTII53K4QDoymZ58z02sUDd64lILWyN91dGhBY+zjPXatC2Szgs3lfJxRKBiIqyQ1OSqADnV bbc5FEiwEn9Rm7qXUWUFXFfB2XVh+XsPwoHoLVUulLV6FWI3TreeqE5XDg7yLE6wXHF38uWDd n1YaIfSkfXhWxlz/7/auKmKQKBgMjnNnp43nxvv4y8hEelbxpGix7UYI9PHXUbskVv/tVUadt VCV+Sr7DYsXRspPTYiwniZnYTQkirIFetie0SMI3DwjWq1hvNphaLHW0wMn/2zXKV3cHhBayx 0csNnAnyRLrxLg7HU+TCPxfTuEvRh6LxkmjnPa7RHWkSc2mNNcSeaPswP91WjWVQvW4d0EHYP +fCqIFtQDplI0Nw0t3u5kv+weM2iqom/rNLFJQ== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Building objtool causes a warning on the latest linux-next kernels: warning: objtool: orc_types.h differs from kernel >>From what I can tell, we have two slightly different copies of the same header, and we try to ensure they are the same with the warning. This picks the copy from the x86 headers (without the __packed annotation), by roll of dice. Fixes: 39358a033b2e ("objtool, x86: Add facility for asm code to provide unwind hints") Fixes: 627fce14809b ("objtool: Add ORC unwind table generation") Signed-off-by: Arnd Bergmann --- tools/objtool/orc_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/objtool/orc_types.h b/tools/objtool/orc_types.h index 9c9dc579bd7d..7dc777a6cb40 100644 --- a/tools/objtool/orc_types.h +++ b/tools/objtool/orc_types.h @@ -88,7 +88,7 @@ struct orc_entry { unsigned sp_reg:4; unsigned bp_reg:4; unsigned type:2; -} __packed; +}; /* * This struct is used by asm and inline asm code to manually annotate the -- 2.9.0