On 05/14/2010 04:08 AM, Wu Zhangjin wrote:
From: Wu Zhangjin<wuzhangjin@xxxxxxxxx> With the help of uasm, this patch encodes the instructions of dynamic Function Tracer in ftrace_dyn_arch_init() when initializing it.
[...]
+#include<asm/uasm.h>
All of uasm is _cpuinit, I haven't checked everything, but are you sure you aren't calling if from non-_cpuinit code?
David Daney