X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fmips%2Fsgi-ip27%2Fip27-hubio.c;h=524b371f9397ae2bff5eb527614666c866f31343;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=79e0d6c36da20c628bb00fbbb67e796fa86bf47b;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/arch/mips/sgi-ip27/ip27-hubio.c b/arch/mips/sgi-ip27/ip27-hubio.c index 79e0d6c36..524b371f9 100644 --- a/arch/mips/sgi-ip27/ip27-hubio.c +++ b/arch/mips/sgi-ip27/ip27-hubio.c @@ -8,6 +8,7 @@ #include #include +#include #include #include #include @@ -44,7 +45,7 @@ unsigned long hub_pio_map(cnodeid_t cnode, xwidgetnum_t widget, xtalk_addr &= ~(BWIN_SIZE-1); for (i = 0; i < HUB_NUM_BIG_WINDOW; i++) { - if (test_and_set_bit(i, HUB_DATA(cnode)->h_bigwin_used)) + if (test_and_set_bit(i, hub_data(cnode)->h_bigwin_used)) continue; /* @@ -177,7 +178,7 @@ void hub_pio_init(cnodeid_t cnode) unsigned i; /* initialize big window piomaps for this hub */ - bitmap_zero(HUB_DATA(cnode)->h_bigwin_used, HUB_NUM_BIG_WINDOW); + bitmap_zero(hub_data(cnode)->h_bigwin_used, HUB_NUM_BIG_WINDOW); for (i = 0; i < HUB_NUM_BIG_WINDOW; i++) IIO_ITTE_DISABLE(nasid, i);