diff mbox series

[2/3] csky: Use SPARSE_IRQ

Message ID 20210927081402.191717-3-wangkefeng.wang@huawei.com (mailing list archive)
State New, archived
Headers show
Series Cleanup MAY_HAVE_SPARSE_IRQ | expand

Commit Message

Kefeng Wang Sept. 27, 2021, 8:14 a.m. UTC
The sparse IRQ framework is preferred, switch over to it,
and Kill MAY_HAVE_SPARSE_IRQ.

Cc: Guo Ren <guoren@kernel.org>
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
---
 arch/csky/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Guo Ren Sept. 28, 2021, 3:39 a.m. UTC | #1
On Mon, Sep 27, 2021 at 4:11 PM Kefeng Wang <wangkefeng.wang@huawei.com> wrote:
>
> The sparse IRQ framework is preferred, switch over to it,
> and Kill MAY_HAVE_SPARSE_IRQ.
>
> Cc: Guo Ren <guoren@kernel.org>
> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
> ---
>  arch/csky/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/csky/Kconfig b/arch/csky/Kconfig
> index 9d4d898df76b..3d720a577be7 100644
> --- a/arch/csky/Kconfig
> +++ b/arch/csky/Kconfig
> @@ -69,7 +69,6 @@ config CSKY
>         select HAVE_RSEQ
>         select HAVE_STACKPROTECTOR
>         select HAVE_SYSCALL_TRACEPOINTS
> -       select MAY_HAVE_SPARSE_IRQ
>         select MODULES_USE_ELF_RELA if MODULES
>         select OF
>         select OF_EARLY_FLATTREE
> @@ -82,6 +81,7 @@ config CSKY
>         select PCI_SYSCALL if PCI
>         select PCI_MSI if PCI
>         select SET_FS
> +       select SPARSE_IRQ
Most csky platforms use !SPARSE_IRQ, so please remove the above line.

>         select TRACE_IRQFLAGS_SUPPORT
>
>  config LOCKDEP_SUPPORT
> --
> 2.26.2
>
Kefeng Wang Sept. 28, 2021, 4:47 a.m. UTC | #2
On 2021/9/28 11:39, Guo Ren wrote:
> On Mon, Sep 27, 2021 at 4:11 PM Kefeng Wang <wangkefeng.wang@huawei.com> wrote:
>> The sparse IRQ framework is preferred, switch over to it,
>> and Kill MAY_HAVE_SPARSE_IRQ.
>>
>> Cc: Guo Ren <guoren@kernel.org>
>> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
>> ---
>>   arch/csky/Kconfig | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/arch/csky/Kconfig b/arch/csky/Kconfig
>> index 9d4d898df76b..3d720a577be7 100644
>> --- a/arch/csky/Kconfig
>> +++ b/arch/csky/Kconfig
>> @@ -69,7 +69,6 @@ config CSKY
>>          select HAVE_RSEQ
>>          select HAVE_STACKPROTECTOR
>>          select HAVE_SYSCALL_TRACEPOINTS
>> -       select MAY_HAVE_SPARSE_IRQ
>>          select MODULES_USE_ELF_RELA if MODULES
>>          select OF
>>          select OF_EARLY_FLATTREE
>> @@ -82,6 +81,7 @@ config CSKY
>>          select PCI_SYSCALL if PCI
>>          select PCI_MSI if PCI
>>          select SET_FS
>> +       select SPARSE_IRQ
> Most csky platforms use !SPARSE_IRQ, so please remove the above line.
Ok, will drop this.
>
>>          select TRACE_IRQFLAGS_SUPPORT
>>
>>   config LOCKDEP_SUPPORT
>> --
>> 2.26.2
>>
>
diff mbox series

Patch

diff --git a/arch/csky/Kconfig b/arch/csky/Kconfig
index 9d4d898df76b..3d720a577be7 100644
--- a/arch/csky/Kconfig
+++ b/arch/csky/Kconfig
@@ -69,7 +69,6 @@  config CSKY
 	select HAVE_RSEQ
 	select HAVE_STACKPROTECTOR
 	select HAVE_SYSCALL_TRACEPOINTS
-	select MAY_HAVE_SPARSE_IRQ
 	select MODULES_USE_ELF_RELA if MODULES
 	select OF
 	select OF_EARLY_FLATTREE
@@ -82,6 +81,7 @@  config CSKY
 	select PCI_SYSCALL if PCI
 	select PCI_MSI if PCI
 	select SET_FS
+	select SPARSE_IRQ
 	select TRACE_IRQFLAGS_SUPPORT
 
 config LOCKDEP_SUPPORT