public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Ben Hutchings <ben@decadent•org.uk>
To: linuxppc-dev@lists•ozlabs.org
Cc: Daniel Axtens <dja@axtens•net>, Nicholas Piggin <npiggin@gmail•com>
Subject: [PATCH 2/2] powerpc: Fix missing CRCs, add yet more asm-prototypes.h declarations
Date: Fri, 2 Dec 2016 02:38:38 +0000	[thread overview]
Message-ID: <20161202023837.GK2697@decadent.org.uk> (raw)
In-Reply-To: <20161202023552.GJ2697@decadent.org.uk>

[-- Attachment #1: Type: text/plain, Size: 1012 bytes --]

Add declarations for:
- __mfdcr, __mtdcr (if CONFIG_PPC_DCR_NATIVE=y; through <asm/dcr.h>)
- switch_mmu_context (if CONFIG_PPC_BOOK3S_64=n; through <asm/mmu_context.h>)

Signed-off-by: Ben Hutchings <ben@decadent•org.uk>
---
I checked all the symbols potentially exported from assembly under
arch/powerpc, and these seem to be the only ones not yet declared
through asm-prototypes.h (aside from those supporting Mac-on-Linux
which are removed by the previous patch).

Ben.

 arch/powerpc/include/asm/asm-prototypes.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/powerpc/include/asm/asm-prototypes.h b/arch/powerpc/include/asm/asm-prototypes.h
index e0baba1535e6..ba0225ff38f8 100644
--- a/arch/powerpc/include/asm/asm-prototypes.h
+++ b/arch/powerpc/include/asm/asm-prototypes.h
@@ -18,6 +18,8 @@
 #include <asm/checksum.h>
 #include <asm/uaccess.h>
 #include <asm/epapr_hcalls.h>
+#include <asm/dcr.h>
+#include <asm/mmu_context.h>
 
 #include <uapi/asm/ucontext.h>
 

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 811 bytes --]

  reply	other threads:[~2016-12-02  2:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-02  2:35 [PATCH 1/2] powerpc: Remove Mac-on-Linux hooks Ben Hutchings
2016-12-02  2:38 ` Ben Hutchings [this message]
2017-03-21 11:36   ` [2/2] powerpc: Fix missing CRCs, add yet more asm-prototypes.h declarations Michael Ellerman
2016-12-02  3:56 ` [PATCH 1/2] powerpc: Remove Mac-on-Linux hooks Michael Ellerman
2016-12-02  5:05   ` Ben Hutchings
2017-03-21 11:36 ` [1/2] " Michael Ellerman

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=20161202023837.GK2697@decadent.org.uk \
    --to=ben@decadent$(echo .)org.uk \
    --cc=dja@axtens$(echo .)net \
    --cc=linuxppc-dev@lists$(echo .)ozlabs.org \
    --cc=npiggin@gmail$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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