static void __init __iomem *win_cfg_base(int win) { /* * Find the control register base address for this window. * * BRIDGE_VIRT_BASE points to the right (CPU0's or CPU1's) * MBUS bridge depending on which CPU core we're running on, * so we don't need to take that into account here. */ return (void __iomem *)((win < 8) ? WIN0_OFF(win) : WIN8_OFF(win)); }
static void __init __iomem *win_cfg_base(int win) { return (void __iomem *)((win < 8) ? WIN0_OFF(win) : WIN8_OFF(win)); }