ia64/xen-unstable

changeset 2092:91b951040040

bitkeeper revision 1.1145.1.1 (4112b3cd2EhCTP6gCuQGTMJlD8scmw)

Patches from Charles Coffing.
author kaf24@scramble.cl.cam.ac.uk
date Thu Aug 05 22:25:17 2004 +0000 (2004-08-05)
parents 7b965136e215
children e8ef06e458e1
files linux-2.4.26-xen-sparse/arch/xen/kernel/traps.c linux-2.6.7-xen-sparse/arch/xen/i386/kernel/setup.c linux-2.6.7-xen-sparse/arch/xen/i386/kernel/traps.c linux-2.6.7-xen-sparse/arch/xen/kernel/evtchn.c
line diff
     1.1 --- a/linux-2.4.26-xen-sparse/arch/xen/kernel/traps.c	Wed Aug 04 14:36:41 2004 +0000
     1.2 +++ b/linux-2.4.26-xen-sparse/arch/xen/kernel/traps.c	Thu Aug 05 22:25:17 2004 +0000
     1.3 @@ -449,8 +449,8 @@ void math_error(void *eip)
     1.4  		default:
     1.5  			break;
     1.6  		case 0x001: /* Invalid Op */
     1.7 -		case 0x040: /* Stack Fault */
     1.8 -		case 0x240: /* Stack Fault | Direction */
     1.9 +		case 0x041: /* Stack Fault */
    1.10 +		case 0x241: /* Stack Fault | Direction */
    1.11  			info.si_code = FPE_FLTINV;
    1.12  			break;
    1.13  		case 0x002: /* Denormalize */
     2.1 --- a/linux-2.6.7-xen-sparse/arch/xen/i386/kernel/setup.c	Wed Aug 04 14:36:41 2004 +0000
     2.2 +++ b/linux-2.6.7-xen-sparse/arch/xen/i386/kernel/setup.c	Thu Aug 05 22:25:17 2004 +0000
     2.3 @@ -137,8 +137,10 @@ static struct resource data_resource = {
     2.4   * page as soon as fixmap is up and running.
     2.5   */
     2.6  shared_info_t *HYPERVISOR_shared_info = (shared_info_t *)empty_zero_page;
     2.7 +EXPORT_SYMBOL(HYPERVISOR_shared_info);
     2.8  
     2.9  unsigned long *phys_to_machine_mapping;
    2.10 +EXPORT_SYMBOL(phys_to_machine_mapping);
    2.11  
    2.12  multicall_entry_t multicall_list[8];
    2.13  int nr_multicall_ents = 0;
     3.1 --- a/linux-2.6.7-xen-sparse/arch/xen/i386/kernel/traps.c	Wed Aug 04 14:36:41 2004 +0000
     3.2 +++ b/linux-2.6.7-xen-sparse/arch/xen/i386/kernel/traps.c	Thu Aug 05 22:25:17 2004 +0000
     3.3 @@ -722,8 +722,8 @@ void math_error(void *eip)
     3.4  		default:
     3.5  			break;
     3.6  		case 0x001: /* Invalid Op */
     3.7 -		case 0x040: /* Stack Fault XXX? */
     3.8 -		case 0x240: /* Stack Fault | Direction XXX? */
     3.9 +		case 0x041: /* Stack Fault */
    3.10 +		case 0x241: /* Stack Fault | Direction */
    3.11  			info.si_code = FPE_FLTINV;
    3.12  			/* Should we clear the SF or let user space do it ???? */
    3.13  			break;
     4.1 --- a/linux-2.6.7-xen-sparse/arch/xen/kernel/evtchn.c	Wed Aug 04 14:36:41 2004 +0000
     4.2 +++ b/linux-2.6.7-xen-sparse/arch/xen/kernel/evtchn.c	Thu Aug 05 22:25:17 2004 +0000
     4.3 @@ -7,6 +7,7 @@
     4.4   */
     4.5  
     4.6  #include <linux/config.h>
     4.7 +#include <linux/module.h>
     4.8  #include <linux/irq.h>
     4.9  #include <linux/interrupt.h>
    4.10  #include <linux/sched.h>
    4.11 @@ -81,7 +82,7 @@ void evtchn_do_upcall(struct pt_regs *re
    4.12  
    4.13      local_irq_restore(flags);
    4.14  }
    4.15 -
    4.16 +EXPORT_SYMBOL(evtchn_do_upcall);
    4.17  
    4.18  static int find_unbound_irq(void)
    4.19  {