From: Arnd Bergmann <arnd@arndb.de>
To: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Arnd Bergmann <arnd@arndb.de>, Ingo Molnar <mingo@kernel.org>,
linux-kernel@vger.kernel.org
Subject: [PATCH] objtool: make orc_types.h headers match
Date: Tue, 25 Jul 2017 17:28:48 +0200 [thread overview]
Message-ID: <20170725152858.21264-1-arnd@arndb.de> (raw)
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 <arnd@arndb.de>
---
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
next reply other threads:[~2017-07-25 15:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-25 15:28 Arnd Bergmann [this message]
2017-07-25 15:49 ` Josh Poimboeuf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170725152858.21264-1-arnd@arndb.de \
--to=arnd@arndb.de \
--cc=jpoimboe@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®