From: David Howells <dhowells@redhat.com>
To: akpm@linux-foundation.org
Cc: dhowells@redhat.com, linux-arch@vger.kernel.org,
Ingo Molnar <mingo@redhat.com>,
linux-kernel@vger.kernel.org, arnd@arndb.de
Subject: [PATCH 1/4] Clean asm/system.h from docs
Date: Wed, 12 Feb 2014 15:45:51 +0000 [thread overview]
Message-ID: <20140212154551.2405.20935.stgit@warthog.procyon.org.uk> (raw)
In-Reply-To: <20140212154544.2405.2992.stgit@warthog.procyon.org.uk>
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>
---
Documentation/DocBook/kernel-hacking.tmpl | 2 +-
Documentation/irqflags-tracing.txt | 7 -------
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 d0758b2..b90959b 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);
<sect1 id="routines-local-irqs">
<title><function>local_irq_save()</function>/<function>local_irq_restore()</function>
- <filename class="headerfile">include/asm/system.h</filename>
+ <filename class="headerfile">include/linux/irqflags.h</filename>
</title>
<para>
diff --git a/Documentation/irqflags-tracing.txt b/Documentation/irqflags-tracing.txt
index 67aa71e..f6da056 100644
--- a/Documentation/irqflags-tracing.txt
+++ b/Documentation/irqflags-tracing.txt
@@ -22,13 +22,6 @@ rather straightforward and risk-free manner.
Architectures that want to support this need to do a couple of
code-organizational changes first:
-- move their irq-flags manipulation code from their asm/system.h header
- to asm/irqflags.h
-
-- rename local_irq_disable()/etc to raw_local_irq_disable()/etc. so that
- the linux/irqflags.h code can inject callbacks and can construct the
- real local_irq_disable()/etc APIs.
-
- add and enable TRACE_IRQFLAGS_SUPPORT in their arch level Kconfig file
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 9290de7..a2f27bb 100644
--- a/Documentation/scheduler/sched-arch.txt
+++ b/Documentation/scheduler/sched-arch.txt
@@ -8,7 +8,7 @@ Context switch
By default, the switch_to arch function is called with the runqueue
locked. This is usually not a problem unless switch_to may need to
take the runqueue lock. This is usually due to a wake up operation in
-the context switch. See arch/ia64/include/asm/system.h for an example.
+the context switch. See arch/ia64/include/asm/switch_to.h for an example.
To request the scheduler call switch_to with the runqueue unlocked,
you must `#define __ARCH_WANT_UNLOCKED_CTXSW` in a header file
next prev parent reply other threads:[~2014-02-12 15:45 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-12 15:45 [PATCH 0/4] Final asm/system.h cleanups David Howells
2014-02-12 15:45 ` David Howells [this message]
2014-02-12 15:45 ` [PATCH 1/4] Clean asm/system.h from docs David Howells
2014-02-12 15:45 ` [PATCH 2/4] Sparc: sparc_cpu_model isn't in asm/system.h any more David Howells
2014-02-12 15:45 ` David Howells
2014-02-20 0:47 ` David Miller
2014-02-20 16:08 ` [PATCH 2/4] Sparc: sparc_cpu_model isn't in asm/system.h any more [ver #2] David Howells
2014-02-20 18:34 ` David Miller
2014-02-20 18:34 ` David Miller
2014-02-12 15:46 ` [PATCH 3/4] UM: arch_align_stack() moved to asm/exec.h David Howells
2014-02-12 15:46 ` David Howells
2014-02-12 15:46 ` [PATCH 4/4] ARM: Delete asm/system.h David Howells
2014-02-12 15:46 ` David Howells
2014-02-12 16:54 ` Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140212154551.2405.20935.stgit@warthog.procyon.org.uk \
--to=dhowells@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=arnd@arndb.de \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).