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)
commitc481c707fe4b07783d9a2499a9bbbb94497e9b18
tree27f4d137c4e3896733b5001c14feeb049ae7cc4d
parentaba6593bf77371e71331ba76dacc98b47760cba3
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