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
e5b67f38
Commit
e5b67f38
authored
Mar 04, 2003
by
David Mosberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ia64: Minor formatting fixes for the preemption patch.
parent
87e53587
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
arch/ia64/Kconfig
arch/ia64/Kconfig
+1
-1
arch/ia64/kernel/entry.S
arch/ia64/kernel/entry.S
+4
-4
No files found.
arch/ia64/Kconfig
View file @
e5b67f38
...
@@ -891,7 +891,7 @@ config DEBUG_SPINLOCK_SLEEP
...
@@ -891,7 +891,7 @@ config DEBUG_SPINLOCK_SLEEP
bool "Sleep-inside-spinlock checking"
bool "Sleep-inside-spinlock checking"
help
help
If you say Y here, various routines which may sleep will become very
If you say Y here, various routines which may sleep will become very
noisy if they are called with a spinlock held.
noisy if they are called with a spinlock held.
config IA64_DEBUG_CMPXCHG
config IA64_DEBUG_CMPXCHG
bool "Turn on compare-and-exchange bug checking (slow!)"
bool "Turn on compare-and-exchange bug checking (slow!)"
...
...
arch/ia64/kernel/entry.S
View file @
e5b67f38
...
@@ -595,12 +595,12 @@ GLOBAL_ENTRY(ia64_leave_kernel)
...
@@ -595,12 +595,12 @@ GLOBAL_ENTRY(ia64_leave_kernel)
;;
;;
(
pKStk
)
cmp4.eq
p6
,
p0
=
r21
,
r0
//
p6
<-
preempt_count
==
0
(
pKStk
)
cmp4.eq
p6
,
p0
=
r21
,
r0
//
p6
<-
preempt_count
==
0
;;
;;
#else /
/ CONFIG_PREEMPT
#else /
* CONFIG_PREEMPT */
(
pUStk
)
rsm
psr
.
i
(
pUStk
)
rsm
psr
.
i
;;
;;
(
pUStk
)
adds
r17
=
TI_FLAGS
+
IA64_TASK_SIZE
,
r13
(
pUStk
)
adds
r17
=
TI_FLAGS
+
IA64_TASK_SIZE
,
r13
;;
;;
#endif /
/ CONFIG_PREEMPT
#endif /
* CONFIG_PREEMPT */
.
work_processed
:
.
work_processed
:
(
p6
)
ld4
r18
=[
r17
]
//
load
current_thread_info
()->
flags
(
p6
)
ld4
r18
=[
r17
]
//
load
current_thread_info
()->
flags
adds
r2
=
PT
(
R8
)+
16
,
r12
adds
r2
=
PT
(
R8
)+
16
,
r12
...
@@ -827,7 +827,7 @@ skip_rbs_switch:
...
@@ -827,7 +827,7 @@ skip_rbs_switch:
(
pKStk
)
st4
[
r20
]=
r21
(
pKStk
)
st4
[
r20
]=
r21
ssm
psr
.
i
//
enable
interrupts
ssm
psr
.
i
//
enable
interrupts
#endif
#endif
#if __GNUC__ < 3
#if __GNUC__ < 3
br.call.spnt.many
rp
=
invoke_schedule
br.call.spnt.many
rp
=
invoke_schedule
#else
#else
...
@@ -840,7 +840,7 @@ skip_rbs_switch:
...
@@ -840,7 +840,7 @@ skip_rbs_switch:
#if CONFIG_PREEMPT
#if CONFIG_PREEMPT
(
pKStk
)
adds
r20
=
TI_PRE_COUNT
+
IA64_TASK_SIZE
,
r13
(
pKStk
)
adds
r20
=
TI_PRE_COUNT
+
IA64_TASK_SIZE
,
r13
;;
;;
(
pKStk
)
st4
[
r20
]=
r0
//
preempt_count
()
<-
0
(
pKStk
)
st4
[
r20
]=
r0
//
preempt_count
()
<-
0
#endif
#endif
br.cond.sptk.many
.
work_processed
//
re
-
check
br.cond.sptk.many
.
work_processed
//
re
-
check
...
...
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