Displaying 1 result from an estimated 1 matches for "overwrite_paravirt_op".
Did you mean:
overwrite_paravirt_ops
2007 Apr 18
0
[PATCH] remove overwrite_paravirt_ops
...386/kernel/paravirt.c Wed Aug 16 11:34:12 2006 -0400
@@ -402,18 +402,6 @@ static void __init default_banner(void)
{
printk(KERN_INFO "Booting paravirtualized kernel on %s\n",
paravirt_ops.name);
-}
-
-/* Overwrite ops struct with non-NULL ops entries from this struct. */
-void overwrite_paravirt_ops(const struct paravirt_ops *ops)
-{
- unsigned int i;
- void **src = (void **)ops, **dst = (void **)¶virt_ops;
-
- for (i = 0; i < sizeof(struct paravirt_ops) / 4; i++) {
- if (src[i])
- dst[i] = src[i];
- }
}
static int __init print_banner(void)
diff -r ea8912509a0e include/asm-i...