I think it should be 64 bit. Why don't you do sizeof(unsigned long), it will give you the exact size. Regards, Gaurav Dhiman. -----Original Message----- From: kernelnewbies-bounce@nl.linux.org [mailto:kernelnewbies-bounce@nl.linux.org] On Behalf Of Timur Tabi Sent: Friday, June 25, 2004 1:45 AM To: kernelnewbies@nl.linux.org Subject: What size is "unsigned long" on an x86-64 kernel? If I compile my driver for the x86-64 platform, is "unsigned long" a 32-bit or 64-bit quantity? -- Timur Tabi Staff Software Engineer timur.tabi@ammasso.com -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/