Re: [PATCH 4/7] arc: replace cc-option-yn uses with cc-option

2021-08-17 Thread Nick Desaulniers
On Mon, Aug 16, 2021 at 7:05 PM Nathan Chancellor wrote: > > On 8/16/2021 5:21 PM, 'Nick Desaulniers' via Clang Built Linux wrote: > > cc-option-yn can be replaced with cc-option. ie. > > Checking for support: > > ifeq ($(call cc-option-yn,$(FLAG)),y) > &

[PATCH 4/7] arc: replace cc-option-yn uses with cc-option

2021-08-16 Thread Nick Desaulniers
removing cc-option-yn. Cc: Vineet Gupta Cc: linux-snps-arc@lists.infradead.org Signed-off-by: Nick Desaulniers --- arch/arc/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arc/Makefile b/arch/arc/Makefile index c0d87ac2e221..8782a03f24a8 100644 --- a/arch/arc

Re: [PATCH] arc: remove #ifndef CONFIG_AS_CFI_SIGNAL_FRAME

2020-04-13 Thread Nick Desaulniers
On Sun, Apr 12, 2020 at 7:06 PM Masahiro Yamada wrote: > > CONFIG_AS_CFI_SIGNAL_FRAME is never defined for ARC. > > Suggested-by: Nick Desaulniers > Signed-off-by: Masahiro Yamada Thanks for the patch. I worry there may be many preprocessor checks in the kernel that are al

[PATCH 02/16] arc: prefer __section from compiler_attributes.h

2019-08-12 Thread Nick Desaulniers
Reported-by: Sedat Dilek Suggested-by: Josh Poimboeuf Signed-off-by: Nick Desaulniers --- arch/arc/include/asm/linkage.h | 8 arch/arc/include/asm/mach_desc.h | 3 +-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/arch/arc/include/asm/linkage.h b/arch/arc/include

Re: [PATCH] treewide: remove current_text_addr

2018-08-31 Thread Nick Desaulniers
at this right now (I'm on sabbatical, and I'm > dealing with personal legal stuff right at the moment), but I think it > is the right direction. > > -hpa Linus, Can this patch please be merged? Then we can polish off Peter's change to lockdep to not even use _TH

Re: [PATCH] treewide: remove current_text_addr

2018-08-26 Thread Nick Desaulniers
gt; > Linus This is extremely reasonable. I can follow up with the lockdep folks to see if they really need _THIS_IP_ to solve their problem, or if there's a simpler solution that can solve their needs. Sometimes taking a step back and asking for clarity around the big

[PATCH] treewide: remove current_text_addr

2018-08-21 Thread Nick Desaulniers
Prefer _THIS_IP_ defined in linux/kernel.h. Most definitions of current_text_addr were the same as _THIS_IP_, but a few archs had inline assembly instead. This patch removes the final call site of current_text_addr, making all of the definitions dead code. Signed-off-by: Nick Desaulniers --- I