aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/sn/kernel/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ia64/sn/kernel/setup.c')
-rw-r--r--arch/ia64/sn/kernel/setup.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/ia64/sn/kernel/setup.c b/arch/ia64/sn/kernel/setup.c
index e510dce9971f..f1c1338b10b4 100644
--- a/arch/ia64/sn/kernel/setup.c
+++ b/arch/ia64/sn/kernel/setup.c
@@ -3,7 +3,7 @@
3 * License. See the file "COPYING" in the main directory of this archive 3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details. 4 * for more details.
5 * 5 *
6 * Copyright (C) 1999,2001-2005 Silicon Graphics, Inc. All rights reserved. 6 * Copyright (C) 1999,2001-2006 Silicon Graphics, Inc. All rights reserved.
7 */ 7 */
8 8
9#include <linux/config.h> 9#include <linux/config.h>
@@ -496,6 +496,7 @@ void __init sn_setup(char **cmdline_p)
496 * for sn. 496 * for sn.
497 */ 497 */
498 pm_power_off = ia64_sn_power_down; 498 pm_power_off = ia64_sn_power_down;
499 current->thread.flags |= IA64_THREAD_MIGRATION;
499} 500}
500 501
501/** 502/**
@@ -654,7 +655,8 @@ void __init sn_cpu_init(void)
654 SH2_PIO_WRITE_STATUS_1, SH2_PIO_WRITE_STATUS_3}; 655 SH2_PIO_WRITE_STATUS_1, SH2_PIO_WRITE_STATUS_3};
655 u64 *pio; 656 u64 *pio;
656 pio = is_shub1() ? pio1 : pio2; 657 pio = is_shub1() ? pio1 : pio2;
657 pda->pio_write_status_addr = (volatile unsigned long *) LOCAL_MMR_ADDR(pio[slice]); 658 pda->pio_write_status_addr =
659 (volatile unsigned long *)GLOBAL_MMR_ADDR(nasid, pio[slice]);
658 pda->pio_write_status_val = is_shub1() ? SH_PIO_WRITE_STATUS_PENDING_WRITE_COUNT_MASK : 0; 660 pda->pio_write_status_val = is_shub1() ? SH_PIO_WRITE_STATUS_PENDING_WRITE_COUNT_MASK : 0;
659 } 661 }
660 662