how is the asm-generic to be used?

george anzinger (george@mvista.com)
Thu, 05 Dec 2002 01:34:41 -0800


Lets say there is a bit of code in the kernel ( i.e.
.../kernel/ ) that needs a function that is in an
asm-gneric/*.h file. Now someone comes along and does an
asm-x386/*.h with the same functionality but much faster asm
functions. How should the using code be set up to get the
faster asm version if it exists and the generic version if
it does not?

-- 
George Anzinger   george@mvista.com
High-res-timers: 
http://sourceforge.net/projects/high-res-timers/
Preemption patch:
http://www.kernel.org/pub/linux/kernel/people/rml
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/