summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorThunder From The Hill <thunder@ngforever.de>2002-07-24 18:47:59 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-07-24 18:47:59 -0700
commitad625ee48cf59c39781fe2e6a75ecfd85315495d (patch)
tree91a5659f2d62b450dd269ca51bc504978308200d /Documentation
parentc482e28f2b4d0583fe9a8efbe875836fdf389b30 (diff)
[PATCH] cli-sti-removal.txt fixup
Things look rather like this..
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/cli-sti-removal.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/cli-sti-removal.txt b/Documentation/cli-sti-removal.txt
index 13c744dac866..d74abcfec53d 100644
--- a/Documentation/cli-sti-removal.txt
+++ b/Documentation/cli-sti-removal.txt
@@ -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.