diff options
author | Niklas Schnelle <[email protected]> | 2024-10-24 19:54:44 +0200 |
---|---|---|
committer | Arnd Bergmann <[email protected]> | 2024-10-28 21:44:28 +0000 |
commit | 6f043e75744596968b6547c4bd43e4d30bbb6d6e (patch) | |
tree | ef734f62501d112c3040ca1350310917418ee62f /tools/perf/scripts/python/gecko.py | |
parent | 7c7e6c8924e7bf98db4e5b2edb202842003c00c2 (diff) |
asm-generic/io.h: Remove I/O port accessors for HAS_IOPORT=n
With all subsystems and drivers either declaring their dependence on
HAS_IOPORT or fencing I/O port specific code sections we can finally
make inb()/outb() and friends compile-time dependent on HAS_IOPORT as
suggested by Linus in the linked mail. The main benefit of this is that
on platforms such as s390 which have no meaningful way of implementing
inb()/outb() their use without the proper HAS_IOPORT dependency will
result in easy to catch and fix compile-time errors instead of compiling
code that can never work.
Link: https://lore.kernel.org/lkml/CAHk-=wg80je=K7madF4e7WrRNp37e3qh6y10Svhdc7O8SZ_-8g@mail.gmail.com/
Co-developed-by: Arnd Bergmann <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Niklas Schnelle <[email protected]>
Reviewed-by: Takashi Iwai <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Reviewed-by: Jarkko Sakkinen <[email protected]>
Acked-by: Lucas De Marchi <[email protected]>
Acked-by: Maciej W. Rozycki <[email protected]>
Acked-by: Damien Le Moal <[email protected]>
Acked-by: Jaroslav Kysela <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Acked-by: Rafael J. Wysocki <[email protected]>
Acked-by: Johannes Berg <[email protected]> # for ARCH=um
Acked-by: Geert Uytterhoeven <[email protected]>
Acked-by: Kalle Valo <[email protected]>
Acked-by: Jakub Kicinski <[email protected]>
Acked-by: Corey Minyard <[email protected]>
Acked-by: Guenter Roeck <[email protected]>
Acked-by: Damien Le Moal <[email protected]>
Acked-by: Sebastian Reichel <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions