Commit 51bba81a authored by David Mosberger's avatar David Mosberger

ia64: Finish 2.5.52+ merge.

parent b5bbd40b
...@@ -24,12 +24,13 @@ CFLAGS_KERNEL := -mconstant-gp ...@@ -24,12 +24,13 @@ CFLAGS_KERNEL := -mconstant-gp
GCC_VERSION=$(shell $(CC) -v 2>&1 | fgrep 'gcc version' | cut -f3 -d' ' | cut -f1 -d'.') GCC_VERSION=$(shell $(CC) -v 2>&1 | fgrep 'gcc version' | cut -f3 -d' ' | cut -f1 -d'.')
ifneq ($(GCC_VERSION),2) ifneq ($(GCC_VERSION),2)
CFLAGS += -frename-registers --param max-inline-insns=5000 cflags-y += -frename-registers --param max-inline-insns=5000
endif endif
cflags-$(CONFIG_ITANIUM_BSTEP_SPECIFIC) += -mb-step cflags-$(CONFIG_ITANIUM_BSTEP_SPECIFIC) += -mb-step
cflags-$(CONFIG_IA64_SGI_SN) += -DBRINGUP cflags-$(CONFIG_IA64_SGI_SN) += -DBRINGUP
CFLAGS += $(cflags-y)
HEAD := arch/ia64/kernel/head.o arch/ia64/kernel/init_task.o HEAD := arch/ia64/kernel/head.o arch/ia64/kernel/init_task.o
libs-y += arch/ia64/lib/ libs-y += arch/ia64/lib/
......
...@@ -364,11 +364,13 @@ setup_arch (char **cmdline_p) ...@@ -364,11 +364,13 @@ setup_arch (char **cmdline_p)
#ifdef CONFIG_ACPI_BOOT #ifdef CONFIG_ACPI_BOOT
/* Initialize the ACPI boot-time table parser */ /* Initialize the ACPI boot-time table parser */
acpi_table_init(*cmdline_p); acpi_table_init(*cmdline_p);
# ifdef CONFIG_ACPI_NUMA
#ifdef CONFIG_ACPI_NUMA
acpi_numa_init(); acpi_numa_init();
#endif # endif
#else
# ifdef CONFIG_SMP
smp_build_cpu_map(); /* happens, e.g., with the Ski simulator */
# endif
#endif /* CONFIG_APCI_BOOT */ #endif /* CONFIG_APCI_BOOT */
find_memory(); find_memory();
...@@ -501,6 +503,7 @@ show_cpuinfo (struct seq_file *m, void *v) ...@@ -501,6 +503,7 @@ show_cpuinfo (struct seq_file *m, void *v)
sep = ','; sep = ',';
*cp++ = ' '; *cp++ = ' ';
strcpy(cp, feature_bits[i].feature_name); strcpy(cp, feature_bits[i].feature_name);
cp += strlen(feature_bits[i].feature_name);
mask &= ~feature_bits[i].mask; mask &= ~feature_bits[i].mask;
} }
} }
......
...@@ -527,7 +527,6 @@ ia64_do_signal (sigset_t *oldset, struct sigscratch *scr, long in_syscall) ...@@ -527,7 +527,6 @@ ia64_do_signal (sigset_t *oldset, struct sigscratch *scr, long in_syscall)
if (restart) { if (restart) {
switch (errno) { switch (errno) {
case ERESTART_RESTARTBLOCK: case ERESTART_RESTARTBLOCK:
printk("ERESTART_RESTARTBLOCK: ignoring\n");
current_thread_info()->restart_block.fn = do_no_restart_syscall; current_thread_info()->restart_block.fn = do_no_restart_syscall;
case ERESTARTNOHAND: case ERESTARTNOHAND:
scr->pt.r8 = ERR_CODE(EINTR); scr->pt.r8 = ERR_CODE(EINTR);
...@@ -577,10 +576,8 @@ printk("ERESTART_RESTARTBLOCK: ignoring\n"); ...@@ -577,10 +576,8 @@ printk("ERESTART_RESTARTBLOCK: ignoring\n");
* the "break" instruction gets re-executed. * the "break" instruction gets re-executed.
*/ */
ia64_decrement_ip(&scr->pt); ia64_decrement_ip(&scr->pt);
if (errno == ERESTART_RESTARTBLOCK) { if (errno == ERESTART_RESTARTBLOCK)
printk("ERESTART_RESTARTBLOCK: restarting at %lx\n", scr->pt.cr_iip);
scr->pt.r15 = __NR_restart_syscall; scr->pt.r15 = __NR_restart_syscall;
}
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment