Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1438117

Re: [PATCH v3 3/7] sparc: support static_key usage in non-module __exit sections

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH v3 3/7] sparc: support static_key usage in non-module __exit sections
Date 2016-07-07 03:50 +0200
Message-ID <rS6BX-av-1@gated-at.bofh.it> (permalink)
References <rS2RH-6bB-3@gated-at.bofh.it> <rS2RH-6bB-3@gated-at.bofh.it> <rS2RI-6bB-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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>

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v3 3/7] sparc: support static_key usage in non-module __exit sections Jason Baron <jbaron@akamai.com> - 2016-07-06 23:50 +0200
  Re: [PATCH v3 3/7] sparc: support static_key usage in non-module  __exit sections David Miller <davem@davemloft.net> - 2016-07-07 03:50 +0200

csiph-web