Some architectures have more than 256 possible interrupt sources, increase the size of the variables holding the interrupt number to match. Signed-off-by: Jes Sorensen --- drivers/lguest/io.c | 2 +- drivers/lguest/lg.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) Index: linux-2.6.23-rc3/drivers/lguest/io.c =================================================================== --- linux-2.6.23-rc3.orig/drivers/lguest/io.c +++ linux-2.6.23-rc3/drivers/lguest/io.c @@ -169,7 +169,7 @@ static int unbind_dma(struct lguest *lg, * of registrations for this Guest). */ int bind_dma(struct lguest *lg, - unsigned long ukey, unsigned long dmas, u16 numdmas, u8 interrupt) + unsigned long ukey, unsigned long dmas, u16 numdmas, u16 interrupt) { unsigned int i; int ret = 0; Index: linux-2.6.23-rc3/drivers/lguest/lg.h =================================================================== --- linux-2.6.23-rc3.orig/drivers/lguest/lg.h +++ linux-2.6.23-rc3/drivers/lguest/lg.h @@ -29,7 +29,7 @@ struct lguest_dma_info struct lguest *owner; u16 next_dma; u16 num_dmas; - u8 interrupt; /* 0 when not registered */ + u16 interrupt; /* 0 when not registered */ }; /* We have two convenient macros to convert a "raw" value as handed to us by