>> I know we have CONFIG_X86_64 and CONFIG_X86_32 for x86 architecture but
> how do I exactly check it in my module code?
>>I'm totally failing to understand why '#ifdef CONFIG_X86_64' isn't sufficient?> how do I exactly check it in my module code?
'#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.
Regards,
Saket Sinha
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies