Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
51bba81a
Commit
51bba81a
authored
Dec 20, 2002
by
David Mosberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ia64: Finish 2.5.52+ merge.
parent
b5bbd40b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
9 deletions
+10
-9
arch/ia64/Makefile
arch/ia64/Makefile
+2
-1
arch/ia64/kernel/setup.c
arch/ia64/kernel/setup.c
+7
-4
arch/ia64/kernel/signal.c
arch/ia64/kernel/signal.c
+1
-4
No files found.
arch/ia64/Makefile
View file @
51bba81a
...
...
@@ -24,12 +24,13 @@ CFLAGS_KERNEL := -mconstant-gp
GCC_VERSION
=
$(
shell
$(CC)
-v
2>&1 | fgrep
'gcc version'
|
cut
-f3
-d
' '
|
cut
-f1
-d
'.'
)
ifneq
($(GCC_VERSION),2)
CFLAGS
+=
-frename-registers
--param
max-inline-insns
=
5000
cflags-y
+=
-frename-registers
--param
max-inline-insns
=
5000
endif
cflags-$(CONFIG_ITANIUM_BSTEP_SPECIFIC)
+=
-mb-step
cflags-$(CONFIG_IA64_SGI_SN)
+=
-DBRINGUP
CFLAGS
+=
$
(
cflags-y
)
HEAD
:=
arch
/ia64/kernel/head.o
arch
/ia64/kernel/init_task.o
libs-y
+=
arch
/ia64/lib/
...
...
arch/ia64/kernel/setup.c
View file @
51bba81a
...
...
@@ -364,11 +364,13 @@ setup_arch (char **cmdline_p)
#ifdef CONFIG_ACPI_BOOT
/* Initialize the ACPI boot-time table parser */
acpi_table_init
(
*
cmdline_p
);
#ifdef CONFIG_ACPI_NUMA
# ifdef CONFIG_ACPI_NUMA
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 */
find_memory
();
...
...
@@ -501,6 +503,7 @@ show_cpuinfo (struct seq_file *m, void *v)
sep
=
','
;
*
cp
++
=
' '
;
strcpy
(
cp
,
feature_bits
[
i
].
feature_name
);
cp
+=
strlen
(
feature_bits
[
i
].
feature_name
);
mask
&=
~
feature_bits
[
i
].
mask
;
}
}
...
...
arch/ia64/kernel/signal.c
View file @
51bba81a
...
...
@@ -527,7 +527,6 @@ ia64_do_signal (sigset_t *oldset, struct sigscratch *scr, long in_syscall)
if
(
restart
)
{
switch
(
errno
)
{
case
ERESTART_RESTARTBLOCK
:
printk
(
"ERESTART_RESTARTBLOCK: ignoring
\n
"
);
current_thread_info
()
->
restart_block
.
fn
=
do_no_restart_syscall
;
case
ERESTARTNOHAND
:
scr
->
pt
.
r8
=
ERR_CODE
(
EINTR
);
...
...
@@ -577,10 +576,8 @@ printk("ERESTART_RESTARTBLOCK: ignoring\n");
* the "break" instruction gets re-executed.
*/
ia64_decrement_ip
(
&
scr
->
pt
);
if
(
errno
==
ERESTART_RESTARTBLOCK
)
{
printk
(
"ERESTART_RESTARTBLOCK: restarting at %lx
\n
"
,
scr
->
pt
.
cr_iip
);
if
(
errno
==
ERESTART_RESTARTBLOCK
)
scr
->
pt
.
r15
=
__NR_restart_syscall
;
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment