Re: tty cleanup

Pavel Machek (pavel@suse.cz)
Thu, 29 Jun 2000 13:50:00 +0200


Hi!

> > - 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?

Yes, this one is broken. Better version is comming this evening.
Pavel

-- 
The best software in life is free (not shareware)!		Pavel
GCM d? s-: !g p?:+ au- a--@ w+ v- C++@ UL+++ L++ N++ E++ W--- M- Y- R+

- 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/