Compiling multiplatform code

Ivan Passos (lists@cyclades.com)
Fri, 28 Apr 2000 15:40:50 -0700 (PDT)


Hello,

The Cyclades driver supports ISA and PCI boards. However, I'd like to be
able to compile the ISA support only on x86 systems.

My question is: is there a CONFIG_??? flag that I can use to do that??
Something like:

#ifdef CONFIG_X86
/* ISA Code */
#endif

I've seen some CONFIG_Mn86 (where n is 3, 4, 5 ...), but I'd like to use
one single flag that shows this is an x86 system.

Is there any __x86__ flag???

TIA and Regards,
Ivan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/