[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why doesn't __get_free_pages return "void *"?
I am not very sure, but perhaps that is to shut up gcc ...
--
sourav
On Wed, 14 Feb 2001, Timur Tabi wrote:
> __get_free_pages is a function that returns a virtual pointer to allocated
> memory. Why does the prototype return "unsigned long" instead of "void *"?
> kmalloc() returns "void *", and it's almost the same thing as gfp.
>
>
> --
> Timur Tabi - ttabi@interactivesi.com
> Interactive Silicon - http://www.interactivesi.com
>
> When replying to a mailing-list message, please direct the reply to the mailing list only. Don't send another copy to me.
>
> -
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive: http://mail.nl.linux.org/
> IRC Channel: irc.openprojects.net / #kernelnewbies
> Web Page: http://www.surriel.com/kernelnewbies.shtml
>
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/
IRC Channel: irc.openprojects.net / #kernelnewbies
Web Page: http://www.surriel.com/kernelnewbies.shtml