Re: jump_label: move 'asm goto' support test to Kconfig

2019-01-02 Thread Masahiro Yamada
On Wed, Jan 2, 2019 at 9:14 PM Sedat Dilek wrote: > > Hi, > > I was not aware that CONFIG_JUMP_LABEL Kconfig setting depends on the > support of asm-goto. > > Currently, I am doing experiments with clang-7 and a snapshot of > clang-8 on Linux/x86. > These compilers have no asm-goto support. > >

Re: jump_label: move 'asm goto' support test to Kconfig

2019-01-02 Thread Sedat Dilek
Hi, I was not aware that CONFIG_JUMP_LABEL Kconfig setting depends on the support of asm-goto. Currently, I am doing experiments with clang-7 and a snapshot of clang-8 on Linux/x86. These compilers have no asm-goto support. What is your recommendation for Linux >= v4.20? I am asking as it is

Re: [PATCH] jump_label: move 'asm goto' support test to Kconfig

2019-01-02 Thread Michael Ellerman
Masahiro Yamada writes: > Currently, CONFIG_JUMP_LABEL just means "I _want_ to use jump label". > > The jump label is controlled by HAVE_JUMP_LABEL, which is defined > like this: > > #if defined(CC_HAVE_ASM_GOTO) && defined(CONFIG_JUMP_LABEL) > # define HAVE_JUMP_LABEL > #endif > > We can

[PATCH] jump_label: move 'asm goto' support test to Kconfig

2018-12-30 Thread Masahiro Yamada
Currently, CONFIG_JUMP_LABEL just means "I _want_ to use jump label". The jump label is controlled by HAVE_JUMP_LABEL, which is defined like this: #if defined(CC_HAVE_ASM_GOTO) && defined(CONFIG_JUMP_LABEL) # define HAVE_JUMP_LABEL #endif We can improve this by testing 'asm goto' support