On Tue, 2003-11-11 at 06:34, Mark Hounschell wrote: > Well I'm sorry. I have tried this myself. And if done within a kernel > module it only returns the 32 ls bits. In userland I have no problem > with it. I was hesitant to post it here but since I'm only having a > problem with it in my kernel driver module "ioctl", I did. Try setting x > to 0x0123456789abcdef in a kernel function... Try using "u64" as the type. Also make sure you set integer literals with ULL/LL, e.g. 0x0123456789abcdefULL We have functions that return 64-bits in the kernel, see get_jiffies64() in 2.6. So it does work. Robert Love -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/