diff options
Diffstat (limited to 'arch/ia64/kernel')
-rw-r--r-- | arch/ia64/kernel/domain.c | 2 | ||||
-rw-r--r-- | arch/ia64/kernel/entry.S | 6 | ||||
-rw-r--r-- | arch/ia64/kernel/process.c | 7 | ||||
-rw-r--r-- | arch/ia64/kernel/unwind.c | 12 |
4 files changed, 11 insertions, 16 deletions
diff --git a/arch/ia64/kernel/domain.c b/arch/ia64/kernel/domain.c index d65e87b6394f..bbb8efe126b7 100644 --- a/arch/ia64/kernel/domain.c +++ b/arch/ia64/kernel/domain.c | |||
@@ -341,7 +341,7 @@ next_sg: | |||
341 | #endif | 341 | #endif |
342 | 342 | ||
343 | /* Attach the domains */ | 343 | /* Attach the domains */ |
344 | for_each_online_cpu(i) { | 344 | for_each_cpu_mask(i, *cpu_map) { |
345 | struct sched_domain *sd; | 345 | struct sched_domain *sd; |
346 | #ifdef CONFIG_SCHED_SMT | 346 | #ifdef CONFIG_SCHED_SMT |
347 | sd = &per_cpu(cpu_domains, i); | 347 | sd = &per_cpu(cpu_domains, i); |
diff --git a/arch/ia64/kernel/entry.S b/arch/ia64/kernel/entry.S index bb9a506deb78..9be53e1ea404 100644 --- a/arch/ia64/kernel/entry.S +++ b/arch/ia64/kernel/entry.S | |||
@@ -1573,9 +1573,9 @@ sys_call_table: | |||
1573 | data8 sys_keyctl | 1573 | data8 sys_keyctl |
1574 | data8 sys_ioprio_set | 1574 | data8 sys_ioprio_set |
1575 | data8 sys_ioprio_get // 1275 | 1575 | data8 sys_ioprio_get // 1275 |
1576 | data8 sys_set_zone_reclaim | ||
1577 | data8 sys_ni_syscall | ||
1578 | data8 sys_ni_syscall | ||
1579 | data8 sys_ni_syscall | 1576 | data8 sys_ni_syscall |
1577 | data8 sys_inotify_init | ||
1578 | data8 sys_inotify_add_watch | ||
1579 | data8 sys_inotify_rm_watch | ||
1580 | 1580 | ||
1581 | .org sys_call_table + 8*NR_syscalls // guard against failures to increase NR_syscalls | 1581 | .org sys_call_table + 8*NR_syscalls // guard against failures to increase NR_syscalls |
diff --git a/arch/ia64/kernel/process.c b/arch/ia64/kernel/process.c index e484910246ad..051e050359e4 100644 --- a/arch/ia64/kernel/process.c +++ b/arch/ia64/kernel/process.c | |||
@@ -179,7 +179,7 @@ static int can_do_pal_halt = 1; | |||
179 | 179 | ||
180 | static int __init nohalt_setup(char * str) | 180 | static int __init nohalt_setup(char * str) |
181 | { | 181 | { |
182 | pal_halt = 0; | 182 | pal_halt = can_do_pal_halt = 0; |
183 | return 1; | 183 | return 1; |
184 | } | 184 | } |
185 | __setup("nohalt", nohalt_setup); | 185 | __setup("nohalt", nohalt_setup); |
@@ -807,16 +807,12 @@ machine_restart (char *restart_cmd) | |||
807 | (*efi.reset_system)(EFI_RESET_WARM, 0, 0, NULL); | 807 | (*efi.reset_system)(EFI_RESET_WARM, 0, 0, NULL); |
808 | } | 808 | } |
809 | 809 | ||
810 | EXPORT_SYMBOL(machine_restart); | ||
811 | |||
812 | void | 810 | void |
813 | machine_halt (void) | 811 | machine_halt (void) |
814 | { | 812 | { |
815 | cpu_halt(); | 813 | cpu_halt(); |
816 | } | 814 | } |
817 | 815 | ||
818 | EXPORT_SYMBOL(machine_halt); | ||
819 | |||
820 | void | 816 | void |
821 | machine_power_off (void) | 817 | machine_power_off (void) |
822 | { | 818 | { |
@@ -825,4 +821,3 @@ machine_power_off (void) | |||
825 | machine_halt(); | 821 | machine_halt(); |
826 | } | 822 | } |
827 | 823 | ||
828 | EXPORT_SYMBOL(machine_power_off); | ||
diff --git a/arch/ia64/kernel/unwind.c b/arch/ia64/kernel/unwind.c index 2776a074c6f1..3288be47bc75 100644 --- a/arch/ia64/kernel/unwind.c +++ b/arch/ia64/kernel/unwind.c | |||
@@ -362,7 +362,7 @@ unw_access_gr (struct unw_frame_info *info, int regnum, unsigned long *val, char | |||
362 | if (info->pri_unat_loc) | 362 | if (info->pri_unat_loc) |
363 | nat_addr = info->pri_unat_loc; | 363 | nat_addr = info->pri_unat_loc; |
364 | else | 364 | else |
365 | nat_addr = &info->sw->ar_unat; | 365 | nat_addr = &info->sw->caller_unat; |
366 | nat_mask = (1UL << ((long) addr & 0x1f8)/8); | 366 | nat_mask = (1UL << ((long) addr & 0x1f8)/8); |
367 | } | 367 | } |
368 | } else { | 368 | } else { |
@@ -524,7 +524,7 @@ unw_access_ar (struct unw_frame_info *info, int regnum, unsigned long *val, int | |||
524 | case UNW_AR_UNAT: | 524 | case UNW_AR_UNAT: |
525 | addr = info->unat_loc; | 525 | addr = info->unat_loc; |
526 | if (!addr) | 526 | if (!addr) |
527 | addr = &info->sw->ar_unat; | 527 | addr = &info->sw->caller_unat; |
528 | break; | 528 | break; |
529 | 529 | ||
530 | case UNW_AR_LC: | 530 | case UNW_AR_LC: |
@@ -1775,7 +1775,7 @@ run_script (struct unw_script *script, struct unw_frame_info *state) | |||
1775 | 1775 | ||
1776 | case UNW_INSN_SETNAT_MEMSTK: | 1776 | case UNW_INSN_SETNAT_MEMSTK: |
1777 | if (!state->pri_unat_loc) | 1777 | if (!state->pri_unat_loc) |
1778 | state->pri_unat_loc = &state->sw->ar_unat; | 1778 | state->pri_unat_loc = &state->sw->caller_unat; |
1779 | /* register off. is a multiple of 8, so the least 3 bits (type) are 0 */ | 1779 | /* register off. is a multiple of 8, so the least 3 bits (type) are 0 */ |
1780 | s[dst+1] = ((unsigned long) state->pri_unat_loc - s[dst]) | UNW_NAT_MEMSTK; | 1780 | s[dst+1] = ((unsigned long) state->pri_unat_loc - s[dst]) | UNW_NAT_MEMSTK; |
1781 | break; | 1781 | break; |
@@ -2243,11 +2243,11 @@ unw_init (void) | |||
2243 | if (8*sizeof(unw_hash_index_t) < UNW_LOG_HASH_SIZE) | 2243 | if (8*sizeof(unw_hash_index_t) < UNW_LOG_HASH_SIZE) |
2244 | unw_hash_index_t_is_too_narrow(); | 2244 | unw_hash_index_t_is_too_narrow(); |
2245 | 2245 | ||
2246 | unw.sw_off[unw.preg_index[UNW_REG_PRI_UNAT_GR]] = SW(AR_UNAT); | 2246 | unw.sw_off[unw.preg_index[UNW_REG_PRI_UNAT_GR]] = SW(CALLER_UNAT); |
2247 | unw.sw_off[unw.preg_index[UNW_REG_BSPSTORE]] = SW(AR_BSPSTORE); | 2247 | unw.sw_off[unw.preg_index[UNW_REG_BSPSTORE]] = SW(AR_BSPSTORE); |
2248 | unw.sw_off[unw.preg_index[UNW_REG_PFS]] = SW(AR_UNAT); | 2248 | unw.sw_off[unw.preg_index[UNW_REG_PFS]] = SW(AR_PFS); |
2249 | unw.sw_off[unw.preg_index[UNW_REG_RP]] = SW(B0); | 2249 | unw.sw_off[unw.preg_index[UNW_REG_RP]] = SW(B0); |
2250 | unw.sw_off[unw.preg_index[UNW_REG_UNAT]] = SW(AR_UNAT); | 2250 | unw.sw_off[unw.preg_index[UNW_REG_UNAT]] = SW(CALLER_UNAT); |
2251 | unw.sw_off[unw.preg_index[UNW_REG_PR]] = SW(PR); | 2251 | unw.sw_off[unw.preg_index[UNW_REG_PR]] = SW(PR); |
2252 | unw.sw_off[unw.preg_index[UNW_REG_LC]] = SW(AR_LC); | 2252 | unw.sw_off[unw.preg_index[UNW_REG_LC]] = SW(AR_LC); |
2253 | unw.sw_off[unw.preg_index[UNW_REG_FPSR]] = SW(AR_FPSR); | 2253 | unw.sw_off[unw.preg_index[UNW_REG_FPSR]] = SW(AR_FPSR); |