[PATCH v2] ARM: net: JIT compiler for packet filters

David Laight David.Laight at ACULAB.COM
Thu Dec 22 12:34:27 EST 2011


> In principle, the condition could be __LINUX_ARM_ARCH__ < 5, since the
> bx instruction is guaranteed to be available on all ARMv5 CPUs and
> later (ARMv5T is not required).

Can't this code look at the actual cpu being used, and
generate the relevant 'return' instruction?
(Instead of trying to use some compile-time value.)

	David





More information about the linux-arm-kernel mailing list