Re: Determining 32bit or 64bit OS from a running kernel module

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

 



On Wed, 23 Oct 2013 18:24:24 +0530, Saket Sinha said:

> '#ifdef CONFIG_X86_64 is working for me but I couldn't  find it being used
> by drivers in the kernel source tree so I guessed people were doing it by
> some better, smarter method.

The "better smarter method" is almost always "write code that's 32/64 bit
clean".  What exactly were you doing that 32 or 64 bit actually mattered?

Attachment: pgpA25Ui1fRVc.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[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