Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/805042/?format=api
{ "id": 805042, "url": "http://patchwork.ozlabs.org/api/patches/805042/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/698522e0a3638bfe26a9cdc3944943ae139de576.1503277387.git.christophe.leroy@c-s.fr/", "project": { "id": 2, "url": "http://patchwork.ozlabs.org/api/projects/2/?format=api", "name": "Linux PPC development", "link_name": "linuxppc-dev", "list_id": "linuxppc-dev.lists.ozlabs.org", "list_email": "linuxppc-dev@lists.ozlabs.org", "web_url": "https://github.com/linuxppc/wiki/wiki", "scm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git", "webscm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/", "list_archive_url_format": "https://lore.kernel.org/linuxppc-dev/{}/", "commit_url_format": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id={}" }, "msgid": "<698522e0a3638bfe26a9cdc3944943ae139de576.1503277387.git.christophe.leroy@c-s.fr>", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/698522e0a3638bfe26a9cdc3944943ae139de576.1503277387.git.christophe.leroy@c-s.fr/", "date": "2017-08-23T14:54:34", "name": "[2/4] powerpc: fix location of two EXPORT_SYMBOL", "commit_ref": "c0622167e3d4195d50b925bfabd8966589635e75", "pull_url": null, "state": "accepted", "archived": false, "hash": "3edaea5cbe0e8f69c2482cd9fa54ae1eea5ab4da", "submitter": { "id": 5234, "url": "http://patchwork.ozlabs.org/api/people/5234/?format=api", "name": "Christophe Leroy", "email": "christophe.leroy@c-s.fr" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/698522e0a3638bfe26a9cdc3944943ae139de576.1503277387.git.christophe.leroy@c-s.fr/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/805042/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/805042/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>", "X-Original-To": [ "patchwork-incoming@ozlabs.org", "linuxppc-dev@lists.ozlabs.org" ], "Delivered-To": [ "patchwork-incoming@ozlabs.org", "linuxppc-dev@lists.ozlabs.org" ], "Received": [ "from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xcrGf3jrmz9s8J\n\tfor <patchwork-incoming@ozlabs.org>;\n\tThu, 24 Aug 2017 01:01:14 +1000 (AEST)", "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xcrGf2f0lzDqlR\n\tfor <patchwork-incoming@ozlabs.org>;\n\tThu, 24 Aug 2017 01:01:14 +1000 (AEST)", "from pegase1.c-s.fr (pegase1.c-s.fr [93.17.236.30])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3xcr7218sxzDqYb\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tThu, 24 Aug 2017 00:54:37 +1000 (AEST)", "from localhost (mailhub1-int [192.168.12.234])\n\tby localhost (Postfix) with ESMTP id 3xcr6m03qwz9ttFP;\n\tWed, 23 Aug 2017 16:54:24 +0200 (CEST)", "from pegase1.c-s.fr ([192.168.12.234])\n\tby localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new,\n\tport 10024)\n\twith ESMTP id kXyy5n-Nw6CW; Wed, 23 Aug 2017 16:54:23 +0200 (CEST)", "from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192])\n\tby pegase1.c-s.fr (Postfix) with ESMTP id 3xcr6l6Yqhz9ttBy;\n\tWed, 23 Aug 2017 16:54:23 +0200 (CEST)", "from localhost (localhost [127.0.0.1])\n\tby messagerie.si.c-s.fr (Postfix) with ESMTP id BE4698B80E;\n\tWed, 23 Aug 2017 16:54:34 +0200 (CEST)", "from messagerie.si.c-s.fr ([127.0.0.1])\n\tby localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new,\n\tport 10023)\n\twith ESMTP id vUgj5H8EzCrq; Wed, 23 Aug 2017 16:54:34 +0200 (CEST)", "from po15668-vm-win7.idsi0.si.c-s.fr (po15451.idsi0.si.c-s.fr\n\t[172.25.231.1])\n\tby messagerie.si.c-s.fr (Postfix) with ESMTP id 9E5D08B80C;\n\tWed, 23 Aug 2017 16:54:34 +0200 (CEST)", "by po15668-vm-win7.idsi0.si.c-s.fr (Postfix, from userid 0)\n\tid 938E1679CE; Wed, 23 Aug 2017 16:54:34 +0200 (CEST)" ], "X-Virus-Scanned": [ "Debian amavisd-new at c-s.fr", "amavisd-new at c-s.fr" ], "Message-Id": "<698522e0a3638bfe26a9cdc3944943ae139de576.1503277387.git.christophe.leroy@c-s.fr>", "In-Reply-To": "<cover.1503277387.git.christophe.leroy@c-s.fr>", "References": "<cover.1503277387.git.christophe.leroy@c-s.fr>", "From": "Christophe Leroy <christophe.leroy@c-s.fr>", "Subject": "[PATCH 2/4] powerpc: fix location of two EXPORT_SYMBOL", "To": "Benjamin Herrenschmidt <benh@kernel.crashing.org>,\n\tPaul Mackerras <paulus@samba.org>,\n\tMichael Ellerman <mpe@ellerman.id.au>, Scott Wood <oss@buserror.net>", "Date": "Wed, 23 Aug 2017 16:54:34 +0200 (CEST)", "X-BeenThere": "linuxppc-dev@lists.ozlabs.org", "X-Mailman-Version": "2.1.23", "Precedence": "list", "List-Id": "Linux on PowerPC Developers Mail List\n\t<linuxppc-dev.lists.ozlabs.org>", "List-Unsubscribe": "<https://lists.ozlabs.org/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe>", "List-Archive": "<http://lists.ozlabs.org/pipermail/linuxppc-dev/>", "List-Post": "<mailto:linuxppc-dev@lists.ozlabs.org>", "List-Help": "<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help>", "List-Subscribe": "<https://lists.ozlabs.org/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe>", "Cc": "linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org,\n\tAl Viro <viro@zeniv.linux.org.uk>", "Errors-To": "linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org", "Sender": "\"Linuxppc-dev\"\n\t<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>" }, "content": "Commit 9445aa1a3062a (\"ppc: move exports to definitions\")\nadded EXPORT_SYMBOL() for memset() and flush_hash_pages() in\nthe middle of the functions.\n\nThis patch moves them at the end of the two functions.\n\nSigned-off-by: Christophe Leroy <christophe.leroy@c-s.fr>\n---\n arch/powerpc/lib/copy_32.S | 2 +-\n arch/powerpc/mm/hash_low_32.S | 2 +-\n 2 files changed, 2 insertions(+), 2 deletions(-)", "diff": "diff --git a/arch/powerpc/lib/copy_32.S b/arch/powerpc/lib/copy_32.S\nindex a14d4df2ebc9..a3ffeac69eca 100644\n--- a/arch/powerpc/lib/copy_32.S\n+++ b/arch/powerpc/lib/copy_32.S\n@@ -104,7 +104,6 @@ _GLOBAL(memset)\n \tsubf\tr6,r0,r6\n \tcmplwi\t0,r4,0\n \tbne\t2f\t/* Use normal procedure if r4 is not zero */\n-EXPORT_SYMBOL(memset)\n _GLOBAL(memset_nocache_branch)\n \tb\t2f\t/* Skip optimised bloc until cache is enabled */\n \n@@ -140,6 +139,7 @@ _GLOBAL(memset_nocache_branch)\n 8:\tstbu\tr4,1(r6)\n \tbdnz\t8b\n \tblr\n+EXPORT_SYMBOL(memset)\n \n /*\n * This version uses dcbz on the complete cache lines in the\ndiff --git a/arch/powerpc/mm/hash_low_32.S b/arch/powerpc/mm/hash_low_32.S\nindex 6f962e5cb5e1..ffbd7c0bda96 100644\n--- a/arch/powerpc/mm/hash_low_32.S\n+++ b/arch/powerpc/mm/hash_low_32.S\n@@ -575,7 +575,6 @@ _GLOBAL(flush_hash_pages)\n \trlwinm\tr8,r8,0,31,29\t\t/* clear HASHPTE bit */\n \tstwcx.\tr8,0,r5\t\t\t/* update the pte */\n \tbne-\t33b\n-EXPORT_SYMBOL(flush_hash_pages)\n \n \t/* Get the address of the primary PTE group in the hash table (r3) */\n _GLOBAL(flush_hash_patch_A)\n@@ -634,6 +633,7 @@ _GLOBAL(flush_hash_patch_B)\n \tSYNC_601\n \tisync\n \tblr\n+EXPORT_SYMBOL(flush_hash_pages)\n \n /*\n * Flush an entry from the TLB\n", "prefixes": [ "2/4" ] }