]> git.baikalelectronics.ru Git - kernel.git/commit
tty: remove buffer special casing
authorAlan Cox <alan@linux.intel.com>
Thu, 11 Jun 2009 12:04:27 +0000 (13:04 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Jun 2009 15:51:02 +0000 (08:51 -0700)
commitc19c890aaa1854aca4a60be27d32e219e4b235c2
tree27f4d137c4e3896733b5001c14feeb049ae7cc4d
parentf2b2528b844c2fbf5170fed0c1ed06f07473a000
tty: remove buffer special casing

Long long ago a 4K kmalloc allocated two pages so the tty layer used the
page allocator, except on some machines where the page size was huge. This was
removed from the core tty layer with the tty buffer re-implementation but not
from tty_audit or the n_tty ldisc.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/n_tty.c
drivers/char/tty_audit.c