From: David Miller <davem@davemloft.net>
To: jbaron@akamai.com
Cc: akpm@linux-foundation.org, joe@perches.com, peterz@infradead.org,
linux-kernel@vger.kernel.org, sparclinux@vger.kernel.org
Subject: Re: [PATCH v3 3/7] sparc: support static_key usage in non-module __exit sections
Date: Wed, 06 Jul 2016 18:49:29 -0700 (PDT) [thread overview]
Message-ID: <20160706.184929.373589229424928717.davem@davemloft.net> (raw)
In-Reply-To: <d822da427ab07a02a394602eca687104ff682f83.1467837322.git.jbaron@akamai.com>
From: Jason Baron <jbaron@akamai.com>
Date: Wed, 6 Jul 2016 17:42:32 -0400
> The jump table can reference text found in an __exit section. Thus,
> instead of discarding it at build/link time, include EXIT_TEXT as part
> of __init and release it at system boot time.
>
> Without this patch the link fails with:
>
> `.exit.text' referenced in section `__jump_table' of xxx.o:
> defined in discarded section `.exit.text' of xxx.o
>
> Cc: "David S. Miller" <davem@davemloft.net>
> Cc: sparclinux@vger.kernel.org
> Signed-off-by: Jason Baron <jbaron@akamai.com>
Acked-by: David S. Miller <davem@davemloft.net>
next prev parent reply other threads:[~2016-07-07 1:49 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-06 21:42 [PATCH v3 0/7] convert dynamic_debug to use jump labels Jason Baron
2016-07-06 21:42 ` [PATCH v3 1/7] powerpc: add explicit #include <asm/asm-compat.h> for jump label Jason Baron
2016-07-08 13:41 ` [v3, " Michael Ellerman
2016-07-06 21:42 ` [PATCH v3 2/7] s390: add explicit <linux/stringify.h> " Jason Baron
2016-07-06 21:42 ` [PATCH v3 3/7] sparc: support static_key usage in non-module __exit sections Jason Baron
2016-07-07 1:49 ` David Miller [this message]
2016-07-06 21:42 ` [PATCH v3 4/7] tile: " Jason Baron
2016-07-06 21:42 ` [PATCH v3 5/7] arm: jump label may reference text in __exit Jason Baron
2016-07-06 21:42 ` [PATCH v3 6/7] jump_label: remove bug.h, atomic.h dependencies for HAVE_JUMP_LABEL Jason Baron
2016-07-06 21:42 ` [PATCH v3 7/7] dynamic_debug: add jump label support Jason Baron
2016-07-06 22:52 ` Joe Perches
2016-07-07 19:10 ` Jason Baron
2016-07-08 21:41 ` Andrew Morton
2016-07-11 13:18 ` Jason Baron
2016-07-11 19:23 ` Andrew Morton
2016-07-11 19:52 ` Jason Baron
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=20160706.184929.373589229424928717.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=akpm@linux-foundation.org \
--cc=jbaron@akamai.com \
--cc=joe@perches.com \
--cc=linux-kernel@vger.kernel.org \
--cc=peterz@infradead.org \
--cc=sparclinux@vger.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®