>> 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?

'#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
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to