Re: need help in 64-bit code

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

 



Hi,

Le Fri, 05 May 2006 20:55:07 +0530,
sudheer <urwithsudheer@xxxxxxxxx> a écrit :

> #ifdef CONFIG_64
> *(SysAddr + num_items) = (0xaa55aa55aa000000 + num_items);
> #else
> *(SysAddr + num_items) = (0x11220000 + (num_items));
> #endif
> If it is 64 but system i should assign 64 bit or else 32 bit data.
> Can i have any other option/method ?

If you need to do that, it's almost certain that something's wrong with
your code. You should not need to do that.

Sincerly,

Thomas
-- 
PETAZZONI Thomas - thomas.petazzoni@xxxxxxxx 
http://{thomas,sos,kos}.enix.org - Jabber: thomas.petazzoni@xxxxxxxxx
http://{agenda,livret}dulibre.org - http://www.toulibre.org
Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E  1624 F653 CB30 98D3 F7A7

Attachment: signature.asc
Description: PGP signature


[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