lkml.org 
[lkml]   [2016]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v3 3/7] sparc: support static_key usage in non-module __exit sections
From
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>

\
 
 \ /
  Last update: 2016-07-07 04:21    [W:0.070 / U:0.832 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site