From: Jeremy Fitzhardinge Date: Mon, 3 Oct 2011 18:01:46 +0000 (-0700) Subject: jump_label: add arch_jump_label_transform_static() to optimise non-live code updates X-Git-Tag: v3.2-rc1~18^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20284aa77c0f6227da4783a920b72dc61d4bcc09;p=pandora-kernel.git jump_label: add arch_jump_label_transform_static() to optimise non-live code updates When updating a newly loaded module, the code is definitely not yet executing on any processor, so it can be updated with no need for any heavyweight synchronization. This patch adds arch_jump_label_static() which is implemented as arch_jump_label_transform() by default, but architectures can override it if it avoids, say, a call to stop_machine(). Signed-off-by: Jeremy Fitzhardinge Acked-by: Jason Baron Acked-by: Peter Zijlstra --- Reading git-diff-tree failed