[for-next][PATCH 3/4] x86-32, ftrace: Fix static ftrace when early microcode is enabled

2013-09-05 Thread Steven Rostedt
From: "H. Peter Anvin" Early microcode loading runs C code before paging is enabled on 32 bits. Since ftrace puts a hook into every function, that hook needs to be safe to execute in the pre-paging environment. This is currently true for dynamic ftrace but not for static ftrace. Static ftrace

[for-next][PATCH 3/4] x86-32, ftrace: Fix static ftrace when early microcode is enabled

2013-09-05 Thread Steven Rostedt
From: H. Peter Anvin h...@linux.intel.com Early microcode loading runs C code before paging is enabled on 32 bits. Since ftrace puts a hook into every function, that hook needs to be safe to execute in the pre-paging environment. This is currently true for dynamic ftrace but not for static