Re: [PATCH 1/1] uapi/termios: remove struct ktermios from uapi headers
H. Peter Anvin
hpa at zytor.com
Wed Jul 16 11:04:52 PDT 2025
On July 16, 2025 10:57:11 AM PDT, "Russell King (Oracle)" <linux at armlinux.org.uk> wrote:
>On Wed, Jul 16, 2025 at 09:47:32AM -0700, H. Peter Anvin wrote:
>> diff --git a/arch/arm/include/asm/ktermios.h b/arch/arm/include/asm/ktermios.h
>> new file mode 100644
>> index 000000000000..4320921a82a9
>> --- /dev/null
>> +++ b/arch/arm/include/asm/ktermios.h
>> @@ -0,0 +1 @@
>> +#include <asm-generic/ktermios.h>
>
>Isn't this what arch/arm/include/asm/Kbuild's generic-y is for?
>
>Ditto for other arches.
>
Ah, yes, you're right (except for those with nontrivial stubs.)
I also found that a handful of drivers and arch/sparc needs <asm/termios.h> → <linux/termios.h> in <linux/termios_internal.h>.
More information about the linux-um
mailing list