Skip to contentSkip to conversation

skd: add build dependency on HARDIRQ

PATCH In review Jeff Moyer 2 participants 3 messages Aug 11, 2014 – Aug 12, 2014 Block layer

lore
Share & tools
lore

Jeff Moyer

author
#0 lore raw

PATCH 1/1 skd: add build dependency on HARDIRQ

Hi,

This driver won't build on architectures without generic hardirq support.

drivers/block/Kconfig +1 -0
index 014a1cf..f3a5300 100644
@@ -325,6 +325,7 @@ config BLK_DEV_SKD
 	tristate "STEC S1120 Block Driver"
 	depends on PCI
 	depends on 64BIT
+	depends on GENERIC_HARDIRQS
 	---help---
 	Saying Y or M here will enable support for the
 	STEC, Inc. S1120 PCIe SSD.
#1 lore raw

Hi Jeff,

Quoted 10 lines · Jeff Moyer

This driver won't build on architectures without generic hardirq support.

drivers/block/Kconfig +0 -0
index 014a1cf..f3a5300 100644

drivers/block/Kconfig config BLK_DEV_SKD · line 331

Quoted 7 lines
drivers/block/Kconfig +1 -0
@@ -325,6 +325,7 @@ config BLK_DEV_SKD
        tristate "STEC S1120 Block Driver"
        depends on PCI
        depends on 64BIT
+       depends on GENERIC_HARDIRQS
        ---help---
        Saying Y or M here will enable support for the
        STEC, Inc. S1120 PCIe SSD.

Which kernel version does this apply to?

GENERIC_HARDIRQS was removed in
commit 0244ad004a54e39308d495fee0a2e637f8b5c317

Author: Martin Schwidefsky <[email protected]>
Date:   Fri Aug 30 09:39:53 2013 +0200

Remove GENERIC_HARDIRQ config option

After the last architecture switched to generic hard irqs the config options HAVE_GENERIC_HARDIRQS & GENERIC_HARDIRQS and the related code for !CONFIG_GENERIC_HARDIRQS can be removed.

after it became supported by all architectures.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

author
#2 lore raw

Geert Uytterhoeven <[email protected]> writes:

Hi, Geer,

Quoted 9 lines

Which kernel version does this apply to?

GENERIC_HARDIRQS was removed in
commit 0244ad004a54e39308d495fee0a2e637f8b5c317

Author: Martin Schwidefsky <[email protected]>
Date:   Fri Aug 30 09:39:53 2013 +0200

Remove GENERIC_HARDIRQ config option

Quoted 7 lines

After the last architecture switched to generic hard irqs the config options HAVE_GENERIC_HARDIRQS & GENERIC_HARDIRQS and the related code for !CONFIG_GENERIC_HARDIRQS can be removed.

after it became supported by all architectures.

Ah, thanks for pointing that out. I needed the patch on an older (3.10 based) kernel and didn't realize it wasn't needed any more. Sorry for the noise!

Cheers,
Jeff