]> git.hungrycats.org Git - linux/commitdiff
[PATCH] cli-sti-removal.txt fixup
authorThunder From The Hill <thunder@ngforever.de>
Thu, 25 Jul 2002 01:47:59 +0000 (18:47 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Thu, 25 Jul 2002 01:47:59 +0000 (18:47 -0700)
Things look rather like this..

Documentation/cli-sti-removal.txt

index 13c744dac8661a0b1bd48ed6542540191842807f..d74abcfec53d42b42ee84e8b3f80a138719a8153 100644 (file)
@@ -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.