diff options
author | David Howells <dhowells@redhat.com> | 2014-04-07 18:39:21 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-07 19:36:11 -0400 |
commit | 956632857819747466e27037aa8a57e8165213c0 (patch) | |
tree | a0160d929d22abc4a36218821bc0de64f08cd663 | |
parent | 52f5684c8e1ec7463192aba8e2916df49807511a (diff) |
asm/system.h: clean asm/system.h from docs
Clean asm/system.h from docs as nothing should refer to that header anymore.
Signed-off-by: David Howells <dhowells@redhat.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | Documentation/DocBook/kernel-hacking.tmpl | 2 | ||||
-rw-r--r-- | Documentation/irqflags-tracing.txt | 7 | ||||
-rw-r--r-- | Documentation/scheduler/sched-arch.txt | 2 |
3 files changed, 2 insertions, 9 deletions
diff --git a/Documentation/DocBook/kernel-hacking.tmpl b/Documentation/DocBook/kernel-hacking.tmpl index d0758b241b23..b90959ba37e4 100644 --- a/Documentation/DocBook/kernel-hacking.tmpl +++ b/Documentation/DocBook/kernel-hacking.tmpl | |||
@@ -671,7 +671,7 @@ printk(KERN_INFO "my ip: %pI4\n", &ipaddress); | |||
671 | 671 | ||
672 | <sect1 id="routines-local-irqs"> | 672 | <sect1 id="routines-local-irqs"> |
673 | <title><function>local_irq_save()</function>/<function>local_irq_restore()</function> | 673 | <title><function>local_irq_save()</function>/<function>local_irq_restore()</function> |
674 | <filename class="headerfile">include/asm/system.h</filename> | 674 | <filename class="headerfile">include/linux/irqflags.h</filename> |
675 | </title> | 675 | </title> |
676 | 676 | ||
677 | <para> | 677 | <para> |
diff --git a/Documentation/irqflags-tracing.txt b/Documentation/irqflags-tracing.txt index 67aa71e73035..f6da05670e16 100644 --- a/Documentation/irqflags-tracing.txt +++ b/Documentation/irqflags-tracing.txt | |||
@@ -22,13 +22,6 @@ rather straightforward and risk-free manner. | |||
22 | Architectures that want to support this need to do a couple of | 22 | Architectures that want to support this need to do a couple of |
23 | code-organizational changes first: | 23 | code-organizational changes first: |
24 | 24 | ||
25 | - move their irq-flags manipulation code from their asm/system.h header | ||
26 | to asm/irqflags.h | ||
27 | |||
28 | - rename local_irq_disable()/etc to raw_local_irq_disable()/etc. so that | ||
29 | the linux/irqflags.h code can inject callbacks and can construct the | ||
30 | real local_irq_disable()/etc APIs. | ||
31 | |||
32 | - add and enable TRACE_IRQFLAGS_SUPPORT in their arch level Kconfig file | 25 | - add and enable TRACE_IRQFLAGS_SUPPORT in their arch level Kconfig file |
33 | 26 | ||
34 | and then a couple of functional changes are needed as well to implement | 27 | and then a couple of functional changes are needed as well to implement |
diff --git a/Documentation/scheduler/sched-arch.txt b/Documentation/scheduler/sched-arch.txt index 9290de703450..a2f27bbf2cba 100644 --- a/Documentation/scheduler/sched-arch.txt +++ b/Documentation/scheduler/sched-arch.txt | |||
@@ -8,7 +8,7 @@ Context switch | |||
8 | By default, the switch_to arch function is called with the runqueue | 8 | By default, the switch_to arch function is called with the runqueue |
9 | locked. This is usually not a problem unless switch_to may need to | 9 | locked. This is usually not a problem unless switch_to may need to |
10 | take the runqueue lock. This is usually due to a wake up operation in | 10 | take the runqueue lock. This is usually due to a wake up operation in |
11 | the context switch. See arch/ia64/include/asm/system.h for an example. | 11 | the context switch. See arch/ia64/include/asm/switch_to.h for an example. |
12 | 12 | ||
13 | To request the scheduler call switch_to with the runqueue unlocked, | 13 | To request the scheduler call switch_to with the runqueue unlocked, |
14 | you must `#define __ARCH_WANT_UNLOCKED_CTXSW` in a header file | 14 | you must `#define __ARCH_WANT_UNLOCKED_CTXSW` in a header file |