android_kernel_xiaomi_sm8350/arch
Tilman Schmidt 4564f9e5fd [PATCH] consolidate line discipline number definitions
The line discipline numbers N_* are currently defined for each architecture
individually, but (except for a seeming mistake) identically, in
asm/termios.h.  There is no obvious reason why these numbers should be
architecture specific, nor any apparent relationship with the termios
structure.  The total number of these, NR_LDISCS, is defined in linux/tty.h
anyway.  So I propose the following patch which moves the definitions of
the individual line disciplines to linux/tty.h too.

Three of these numbers (N_MASC, N_PROFIBUS_FDL, and N_SMSBLOCK) are unused
in the current kernel, but the patch still keeps the complete set in case
there are plans to use them yet.

Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Cc: <linux-arch@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-02-11 10:51:26 -08:00
..
alpha [PATCH] disable init/initramfs.c: architectures 2007-02-11 10:51:25 -08:00
arm [PATCH] disable init/initramfs.c: architectures 2007-02-11 10:51:25 -08:00
arm26 [PATCH] disable init/initramfs.c: architectures 2007-02-11 10:51:25 -08:00
avr32 [PATCH] disable init/initramfs.c: architectures 2007-02-11 10:51:25 -08:00
cris [PATCH] disable init/initramfs.c: architectures 2007-02-11 10:51:25 -08:00
frv [PATCH] disable init/initramfs.c: architectures 2007-02-11 10:51:25 -08:00
h8300 [PATCH] disable init/initramfs.c: architectures 2007-02-11 10:51:25 -08:00
i386 [PATCH] disable init/initramfs.c: architectures 2007-02-11 10:51:25 -08:00
ia64 [PATCH] disable init/initramfs.c: architectures 2007-02-11 10:51:25 -08:00
m32r [PATCH] disable init/initramfs.c: architectures 2007-02-11 10:51:25 -08:00
m68k [PATCH] disable init/initramfs.c: architectures 2007-02-11 10:51:25 -08:00
m68knommu [PATCH] disable init/initramfs.c: architectures 2007-02-11 10:51:25 -08:00
mips [PATCH] disable init/initramfs.c: architectures 2007-02-11 10:51:25 -08:00
parisc [PATCH] disable init/initramfs.c: architectures 2007-02-11 10:51:25 -08:00
powerpc [PATCH] disable init/initramfs.c: architectures 2007-02-11 10:51:25 -08:00
ppc [PATCH] disable init/initramfs.c: architectures 2007-02-11 10:51:25 -08:00
s390 [PATCH] disable init/initramfs.c: architectures 2007-02-11 10:51:25 -08:00
sh [PATCH] disable init/initramfs.c: architectures 2007-02-11 10:51:25 -08:00
sh64 [PATCH] disable init/initramfs.c: architectures 2007-02-11 10:51:25 -08:00
sparc [PATCH] consolidate line discipline number definitions 2007-02-11 10:51:26 -08:00
sparc64 [PATCH] consolidate line discipline number definitions 2007-02-11 10:51:26 -08:00
um [PATCH] uml: x86_64 ptrace fixes 2007-02-11 10:51:24 -08:00
v850 [PATCH] disable init/initramfs.c: architectures 2007-02-11 10:51:25 -08:00
x86_64 [PATCH] disable init/initramfs.c: architectures 2007-02-11 10:51:25 -08:00
xtensa [PATCH] disable init/initramfs.c: architectures 2007-02-11 10:51:25 -08:00