1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

GC gratuitous XEN defines

This commit is contained in:
Kip Macy 2008-10-19 01:33:58 +00:00
parent 9bf38e47a3
commit dafc9be8f8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=184041

View File

@ -159,11 +159,7 @@ static char *trap_msg[] = {
"alignment fault", /* 14 T_ALIGNFLT */
"", /* 15 unused */
"", /* 16 unused */
#ifdef XEN
"hypervisor callback", /* 17 T_HYPCALLBACK*/
#else
"", /* 17 unused */
#endif
"integer divide fault", /* 18 T_DIVIDE */
"non-maskable interrupt trap", /* 19 T_NMI */
"overflow trap", /* 20 T_OFLOW */
@ -270,7 +266,6 @@ trap(struct trapframe *frame)
goto out;
#endif
#ifndef XEN
if ((frame->tf_eflags & PSL_I) == 0) {
/*
* Buggy application or kernel code has disabled
@ -301,7 +296,6 @@ trap(struct trapframe *frame)
enable_intr();
}
}
#endif /* !XEN */
eva = 0;
code = frame->tf_err;
if (type == T_PAGEFLT) {