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
Kirill Smelkov
linux
Commits
ad625ee4
Commit
ad625ee4
authored
Jul 24, 2002
by
Thunder From The Hill
Committed by
Linus Torvalds
Jul 24, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] cli-sti-removal.txt fixup
Things look rather like this..
parent
c482e28f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Documentation/cli-sti-removal.txt
Documentation/cli-sti-removal.txt
+4
-4
No files found.
Documentation/cli-sti-removal.txt
View file @
ad625ee4
...
...
@@ -96,8 +96,8 @@ released.
drivers that want to disable local interrupts (interrupts on the
current CPU), can use the following five macros:
local_irq_disable(), local_irq_enable(), local_
irq_save
(flags),
local_irq_save
_off
(flags), local_irq_restore(flags)
local_irq_disable(), local_irq_enable(), local_
save_flags
(flags),
local_irq_save(flags), local_irq_restore(flags)
but beware, their meaning and semantics are much simpler, far from
that of the old cli(), sti(), save_flags(flags) and restore_flags(flags)
...
...
@@ -107,11 +107,11 @@ SMP meaning:
local_irq_enable() => turn local IRQs on
local_
irq_save(flags)
=> save the current IRQ state into flags. The
local_
save_flags(flags)
=> save the current IRQ state into flags. The
state can be on or off. (on some
architectures there's even more bits in it.)
local_irq_save
_off(flags)
=> save the current IRQ state into flags and
local_irq_save
(flags)
=> save the current IRQ state into flags and
disable interrupts.
local_irq_restore(flags) => restore the IRQ state from flags.
...
...
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