summaryrefslogtreecommitdiff
path: root/drivers/tty/n_tty.c
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2013-07-24 13:30:05 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-24 16:20:21 (GMT)
commit86e35aea477f4cc5a724d8704f5e9d956c73d424 (patch)
tree0c8ea6f3a0076b297a12f137d86973e07c838b8d /drivers/tty/n_tty.c
parentad0cc7bafe498fb299043582e822fc4e74388edb (diff)
downloadlinux-86e35aea477f4cc5a724d8704f5e9d956c73d424.tar.xz
n_tty: Fix build breakage on ppc64
Commit 20bafb3d23d108bc0a896eb8b7c1501f4f649b77 'n_tty: Move buffers into n_tty_data' broke the ppc64 build. Include vmalloc.h for the required function declarations. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/n_tty.c')
-rw-r--r--drivers/tty/n_tty.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/n_tty.c b/drivers/tty/n_tty.c
index ed6c4e4..2c120b6 100644
--- a/drivers/tty/n_tty.c
+++ b/drivers/tty/n_tty.c
@@ -50,6 +50,7 @@
#include <linux/uaccess.h>
#include <linux/module.h>
#include <linux/ratelimit.h>
+#include <linux/vmalloc.h>
/* number of characters left in xmit buffer before select has we have room */