lkml.org 
[lkml]   [2007]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[-mm patch] lguest: #if 0 check_bug_kill()
On Mon, Mar 19, 2007 at 08:56:23PM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.21-rc3-mm1:
>...
> +lguest-use-read-only-pages-rather-than-segments-to-protect-high-mapped-switcher.patch
>...
> x86/x86_64 updates
>...


check_bug_kill() is no longer used.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

arch/i386/lguest/interrupts_and_traps.c | 2 ++
arch/i386/lguest/lg.h | 1 -
2 files changed, 2 insertions(+), 1 deletion(-)

--- linux-2.6.21-rc4-mm1/arch/i386/lguest/lg.h.old 2007-03-23 23:17:05.000000000 +0100
+++ linux-2.6.21-rc4-mm1/arch/i386/lguest/lg.h 2007-03-23 23:17:10.000000000 +0100
@@ -195,7 +195,6 @@
/* interrupts_and_traps.c: */
void maybe_do_interrupt(struct lguest *lg);
int deliver_trap(struct lguest *lg, unsigned int num);
-void check_bug_kill(struct lguest *lg);
void load_guest_idt_entry(struct lguest *lg, unsigned int i, u32 low, u32 hi);
void pin_stack_pages(struct lguest *lg);
void pin_trap_pages(struct lguest *lg);
--- linux-2.6.21-rc4-mm1/arch/i386/lguest/interrupts_and_traps.c.old 2007-03-23 23:17:18.000000000 +0100
+++ linux-2.6.21-rc4-mm1/arch/i386/lguest/interrupts_and_traps.c 2007-03-23 23:17:38.000000000 +0100
@@ -118,6 +118,7 @@
return 1;
}

+#if 0
void check_bug_kill(struct lguest *lg)
{
#ifdef CONFIG_BUG
@@ -144,6 +145,7 @@
}
#endif /* CONFIG_BUG */
}
+#endif /* 0 */

static int direct_trap(const struct lguest *lg,
const struct desc_struct *trap,
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-03-24 14:09    [W:0.196 / U:1.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site