[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Why doesn't __get_free_pages return "void *"?
__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