lkml.org 
[lkml]   [2018]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 2/2] ARM: ftrace: Add MODULE_PLTS support
On Thu,  1 Mar 2018 17:43:43 +0100
Alexander Sverdlin <alexander.sverdlin@nokia.com> wrote:

> diff --git a/arch/arm/include/asm/ftrace.h b/arch/arm/include/asm/ftrace.h
> index 9e842ff..3e663f9 100644
> --- a/arch/arm/include/asm/ftrace.h
> +++ b/arch/arm/include/asm/ftrace.h
> @@ -19,6 +19,7 @@ struct dyn_arch_ftrace {
> #ifdef CONFIG_OLD_MCOUNT
> bool old_mcount;
> #endif

I think you want to add:

#ifdef CONFIG_ARM_MODULE_PLTS
> + struct module *mod;
#endif

This will add more memory overhead, and we don't want to add that if it
is not needed.

-- Steve

\
 
 \ /
  Last update: 2018-03-02 18:01    [W:0.436 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site