{"id":812179,"url":"http://patchwork.ozlabs.org/api/patches/812179/?format=json","web_url":"http://patchwork.ozlabs.org/project/sparclinux/patch/1505076287-18401-1-git-send-email-linux@roeck-us.net/","project":{"id":10,"url":"http://patchwork.ozlabs.org/api/projects/10/?format=json","name":"Linux SPARC Development ","link_name":"sparclinux","list_id":"sparclinux.vger.kernel.org","list_email":"sparclinux@vger.kernel.org","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<1505076287-18401-1-git-send-email-linux@roeck-us.net>","list_archive_url":null,"date":"2017-09-10T20:44:47","name":"sparc64: mmu_context: Add missing include files","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"664dc15f582d2210bf52bbd3c113e9e3f8431d28","submitter":{"id":21889,"url":"http://patchwork.ozlabs.org/api/people/21889/?format=json","name":"Guenter Roeck","email":"linux@roeck-us.net"},"delegate":{"id":34,"url":"http://patchwork.ozlabs.org/api/users/34/?format=json","username":"davem","first_name":"David","last_name":"Miller","email":"davem@davemloft.net"},"mbox":"http://patchwork.ozlabs.org/project/sparclinux/patch/1505076287-18401-1-git-send-email-linux@roeck-us.net/mbox/","series":[{"id":2417,"url":"http://patchwork.ozlabs.org/api/series/2417/?format=json","web_url":"http://patchwork.ozlabs.org/project/sparclinux/list/?series=2417","date":"2017-09-10T20:44:47","name":"sparc64: mmu_context: Add missing include files","version":1,"mbox":"http://patchwork.ozlabs.org/series/2417/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/812179/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/812179/checks/","tags":{},"related":[],"headers":{"Return-Path":"<sparclinux-owner@vger.kernel.org>","X-Original-To":"patchwork-incoming@ozlabs.org","Delivered-To":"patchwork-incoming@ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=sparclinux-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"Zqagd5D5\"; dkim-atps=neutral"],"Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xr32q5smVz9s5L\n\tfor <patchwork-incoming@ozlabs.org>;\n\tMon, 11 Sep 2017 06:44:51 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751702AbdIJUov (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tSun, 10 Sep 2017 16:44:51 -0400","from mail-pf0-f196.google.com ([209.85.192.196]:34915 \"EHLO\n\tmail-pf0-f196.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1751613AbdIJUou (ORCPT\n\t<rfc822; sparclinux@vger.kernel.org>); Sun, 10 Sep 2017 16:44:50 -0400","by mail-pf0-f196.google.com with SMTP id g13so4085520pfm.2;\n\tSun, 10 Sep 2017 13:44:50 -0700 (PDT)","from localhost (108-223-40-66.lightspeed.sntcca.sbcglobal.net.\n\t[108.223.40.66]) by smtp.gmail.com with ESMTPSA id\n\tx8sm9823113pff.104.2017.09.10.13.44.49\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSun, 10 Sep 2017 13:44:49 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=gmail.com; s=20161025;\n\th=sender:from:to:cc:subject:date:message-id;\n\tbh=DhEciPyX8gjtyPp7USB5O57cU9iRhJQcggXHWC/bDbs=;\n\tb=Zqagd5D5osA9WdHdSFcvwJ8Rj9sVueBR1BgFaGf2Fea07jT+LkSSAKaUbom0YLB0t/\n\tNi0oZNRcZSRtG2jShwMwxN3YSuLcCgpd1+AEUbq/xWWEKlHeJxJpd+XCiXd2PNDYBlbr\n\tmHbaP1q1xMYx+v+MF1esdYzN6VivR2TXC+llBabb/LF9N3s/WQL2UiSeOcJ8eA5mt0BK\n\t9720lFsY9kkDWG+nel6eXdJkiac0s45wL1ijmee0fkGNFjnAffLu1gY5eSk2sYvpnoIJ\n\tF1fwl6RUlraYdUiIAWenpej7A2KD9i35aLIKO+RAFPft1O0bwGM+wji8TQN+dkaj5YMZ\n\tC1Aw==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:from:to:cc:subject:date:message-id;\n\tbh=DhEciPyX8gjtyPp7USB5O57cU9iRhJQcggXHWC/bDbs=;\n\tb=KCtKSw1QX6KjBLL6wT3sKSVCbc6+ieaj0vlOmGypL5GqHbguE4ZPZAad2Fh0A1mX/C\n\tRzmaeBM34T7K2vjAg2kHQxSmN+8AEXC1+eBnN8ZRyl8oCbt8AMkekAu8vobDU5MLSHAo\n\tTAIqDmOWU+n3fN0NgSM8yzss+u5dcPd78g8CHBNcXNIrjFMkxVigTCIU5qxWaf1fXiX2\n\tW3JUFObdrn6z/DNDDbdVHShXA3/urhqnUxEHNygd3Avn1tkXvFouAkOJrln4E7DRweZ2\n\tOk37OUo9gOisdDaF/8fxJbi8TYmjjiMdZhmKI898H03Ay8Jvw3Ks4apj57HFCf4ePT0e\n\tqR1w==","X-Gm-Message-State":"AHPjjUgOqyk9CtUwpNlzw7zRSWtYRepY9Qv7U6f8/xFfqt9eh7g/yuxS\n\t+cxTmT0hNxbrWQ==","X-Google-Smtp-Source":"ADKCNb4hkwU96c5MzBRQ5750AcKXYRLdASDMQ5Bd9oxnbeLE0TAOxGQJ5dz+ezvKvIiIsxdchlPWVg==","X-Received":"by 10.101.92.6 with SMTP id u6mr9841070pgr.198.1505076289824;\n\tSun, 10 Sep 2017 13:44:49 -0700 (PDT)","From":"Guenter Roeck <linux@roeck-us.net>","To":"\"David S . Miller\" <davem@davemloft.net>","Cc":"sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org,\n\tGuenter Roeck <linux@roeck-us.net>","Subject":"[PATCH] sparc64: mmu_context: Add missing include files","Date":"Sun, 10 Sep 2017 13:44:47 -0700","Message-Id":"<1505076287-18401-1-git-send-email-linux@roeck-us.net>","X-Mailer":"git-send-email 2.7.4","Sender":"sparclinux-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<sparclinux.vger.kernel.org>","X-Mailing-List":"sparclinux@vger.kernel.org"},"content":"Fix the following build errors.\n\nIn file included from arch/sparc/include/asm/mmu_context.h:4:0,\n                 from include/linux/mmu_context.h:4,\n\t\t from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h:29,\n\t\t from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c:23:\narch/sparc/include/asm/mmu_context_64.h:22:37: error:\n\tunknown type name 'per_cpu_secondary_mm'\n\narch/sparc/include/asm/mmu_context_64.h: In function 'switch_mm':\narch/sparc/include/asm/mmu_context_64.h:79:2: error:\n\timplicit declaration of function 'smp_processor_id'\n\nFixes: 70539bd79500 (\"drm/amd: Update MEC HQD loading code for KFD\")\nSigned-off-by: Guenter Roeck <linux@roeck-us.net>\n---\n\"Exposed-by:\" instead of \"Fixes:\" might be more appropriate.\n\n arch/sparc/include/asm/mmu_context_64.h | 2 ++\n 1 file changed, 2 insertions(+)","diff":"diff --git a/arch/sparc/include/asm/mmu_context_64.h b/arch/sparc/include/asm/mmu_context_64.h\nindex 87841d687f8d..a34315e1f0ed 100644\n--- a/arch/sparc/include/asm/mmu_context_64.h\n+++ b/arch/sparc/include/asm/mmu_context_64.h\n@@ -7,9 +7,11 @@\n \n #include <linux/spinlock.h>\n #include <linux/mm_types.h>\n+#include <linux/smp.h>\n \n #include <asm/spitfire.h>\n #include <asm-generic/mm_hooks.h>\n+#include <asm/percpu.h>\n \n static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk)\n {\n","prefixes":[]}