Re: What size is "unsigned long" on an x86-64 kernel?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2004-06-24 at 15:15 -0500, Timur Tabi wrote:

> If I compile my driver for the x86-64 platform, is "unsigned long" a 
> 32-bit or 64-bit quantity?

unsigned long is 64-bit in the kernel on x86-64

As a quick rule, 'unsigned long' is always (currently, at least) the
word size inside the kernel.

	Robert Love



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux