[PATCH] tpm: remove pci dependency
[deliverable/linux.git] / drivers / char / n_tty.c
index 09103b3d8f05a26beae37b61d6160ccfb7911fc2..c556f4d3ccd7cda2122fa91098cce56491d3387d 100644 (file)
@@ -62,7 +62,7 @@
 
 static inline unsigned char *alloc_buf(void)
 {
-       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);
This page took 0.023284 seconds and 5 git commands to generate.