From: Jeremy Fitzhardinge Date: Wed, 2 May 2007 17:27:14 +0000 (+0200) Subject: [PATCH] i386: PARAVIRT: Consistently wrap paravirt ops callsites to make them patchable X-Git-Tag: v2.6.22-rc1~1011^2~91 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8822f42019eceed19cc6c0f985a489e17796ed8;p=pandora-kernel.git [PATCH] i386: PARAVIRT: Consistently wrap paravirt ops callsites to make them patchable Wrap a set of interesting paravirt_ops calls in a wrapper which makes the callsites available for patching. Unfortunately this is pretty ugly because there's no way to get gcc to generate a function call, but also wrap just the callsite itself with the necessary labels. This patch supports functions with 0-4 arguments, and either void or returning a value. 64-bit arguments must be split into a pair of 32-bit arguments (lower word first). Small structures are returned in registers. Signed-off-by: Jeremy Fitzhardinge Signed-off-by: Andi Kleen Cc: Rusty Russell Cc: Zachary Amsden Cc: Anthony Liguori --- Reading git-diff-tree failed