[PATCH 0/3] minor cleanups to EFLAGS initialisation in ret_from_fork

Ian Campbell
2011-07-25T10:03:04Z

The following series removes the use of a global kernel_eflags variable
from the x86_64 ret_from_fork path and (very slightly) merges the 32 and
64 bit version of that code path.

kernel_eflags could be made a __read_mostly but actually there is no
reason to prefer the value at cpu_init() time to a compile time constant
value for the initial eflags after a fork.

Ian.