Re: tty cleanup

Martin Mares (mj@suse.cz)
Thu, 29 Jun 2000 10:56:11 +0200


> - tty = (struct tty_struct*) get_zeroed_page(GFP_KERNEL);
> + tty = (struct tty_struct*) kmalloc( sizeof(struct tty_struct), GFP_KERNEL );
> + memset(tty, 0, sizeof(struct tty_struct));
> if(!tty)

Uh?

Have a nice fortnight

-- 
Martin `MJ' Mares <mj@ucw.cz> <mj@suse.cz> http://atrey.karlin.mff.cuni.cz/~mj/
"Press any key to quit or any other key to continue"

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/