[PATCH] RISC-V: remove the unused return_to_handler export

Palmer Dabbelt palmer at sifive.com
Tue Oct 9 10:39:38 PDT 2018


Sorry, this must have gotten lost.  It'll be in for-next soon.

On Tue, 09 Oct 2018 09:15:33 PDT (-0700), Christoph Hellwig wrote:
> ping?
>
> On Fri, Sep 21, 2018 at 08:43:21AM +0200, Christoph Hellwig wrote:
>> This export is not only not needed, but also breaks symbol versioning
>> due to being an undeclared assembly export.
>>
>> Signed-off-by: Christoph Hellwig <hch at lst.de>
>> ---
>>  arch/riscv/kernel/mcount.S | 1 -
>>  1 file changed, 1 deletion(-)
>>
>> diff --git a/arch/riscv/kernel/mcount.S b/arch/riscv/kernel/mcount.S
>> index 5721624886a1..8a5593ff9ff3 100644
>> --- a/arch/riscv/kernel/mcount.S
>> +++ b/arch/riscv/kernel/mcount.S
>> @@ -75,7 +75,6 @@ ENTRY(return_to_handler)
>>  	RESTORE_RET_ABI_STATE
>>  	jalr	a1
>>  ENDPROC(return_to_handler)
>> -EXPORT_SYMBOL(return_to_handler)
>>  #endif
>>
>>  #ifndef CONFIG_DYNAMIC_FTRACE
>> --
>> 2.18.0
>>
>>
>> _______________________________________________
>> linux-riscv mailing list
>> linux-riscv at lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/linux-riscv
> ---end quoted text---



More information about the linux-riscv mailing list