diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2013-07-24 09:30:05 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-24 09:20:21 -0700 |
commit | 86e35aea477f4cc5a724d8704f5e9d956c73d424 (patch) | |
tree | 0c8ea6f3a0076b297a12f137d86973e07c838b8d /drivers/tty/n_tty.c | |
parent | ad0cc7bafe498fb299043582e822fc4e74388edb (diff) |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/n_tty.c b/drivers/tty/n_tty.c index ed6c4e4d960a..2c120b634295 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 */ |