diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2005-10-21 03:22:34 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-28 08:16:51 -0700 |
commit | b4e3ca1ab1ae9ae86134126dcdc88da1caaa32ca (patch) | |
tree | 51c609f9a954cd5d4732c4b512f9ff2e19546d47 /drivers/char/n_tty.c | |
parent | 9e24974db6b01ec067c24de09588282b6a1407f0 (diff) | |
download | linux-3.10-b4e3ca1ab1ae9ae86134126dcdc88da1caaa32ca.tar.gz linux-3.10-b4e3ca1ab1ae9ae86134126dcdc88da1caaa32ca.tar.bz2 linux-3.10-b4e3ca1ab1ae9ae86134126dcdc88da1caaa32ca.zip |
[PATCH] gfp_t: remaining bits of drivers/*
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/n_tty.c')
-rw-r--r-- | drivers/char/n_tty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/n_tty.c b/drivers/char/n_tty.c index c9bdf544ed2..c556f4d3ccd 100644 --- a/drivers/char/n_tty.c +++ b/drivers/char/n_tty.c @@ -62,7 +62,7 @@ static inline unsigned char *alloc_buf(void) { - unsigned int prio = in_interrupt() ? GFP_ATOMIC : GFP_KERNEL; + gfp_t prio = in_interrupt() ? GFP_ATOMIC : GFP_KERNEL; if (PAGE_SIZE != N_TTY_BUF_SIZE) return kmalloc(N_TTY_BUF_SIZE, prio); |