Path: csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: KY Srinivasan Newsgroups: linux.kernel Subject: RE: [PATCH v2 06/12] drivers:hv: Export do_hypercall() Date: Wed, 16 Sep 2015 01:30:02 +0200 Message-ID: References: X-Original-To: Jake Oshins , "gregkh@linuxfoundation.org" , "linux-kernel@vger.kernel.org" , "devel@linuxdriverproject.org" , "olaf@aepfle.de" , "apw@canonical.com" , "vkuznets@redhat.com" , "linux-pci@vger.kernel.org" , "bhelgaas@google.com" , "tglx@linutronix.de" Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=AIaEiLM1+k9Y18b5eK74szAnP3a1gMKNhqtfH2ZDCt8=; b=SZqS4bat5ilNlQ+NtxWQP7smia87wpSkzSQEA7mG3qPydCygW6s8nYvXIYCR0iYCukGU1WMcUAMLgu2XJMUQfmDmI9cg41ucEmfhswyvaBgvPBeEITd7jHN+0rCCsFH2iDv/1jtPLV9CU7ekCESA9Oc/5nEF1cxwKV571B3R40s= Thread-Topic: [PATCH v2 06/12] drivers:hv: Export do_hypercall() Thread-Index: AQHQ7CVzcFj/gw4W3EmGEMNcGfJC054+Qt5w Accept-Language: en-US Content-Language: en-US Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=kys@microsoft.com; X-Originating-IP: [2001:4898:80e8:3::4b6] X-Microsoft-Exchange-Diagnostics: 1;BN3PR0301MB1219;5:Z+SPUdrhNYxg7XmyuzFAWk3kPI22UTngoEi2EhrWpGLLFDBiTPuouGgJWbiNinLm4uf+AxiBbTGIoBzyeVzN8eSBOp3q7iYChPMnjBug34KLznY1MDgj/uFnjDzgWYnFD5kH4fuDv9wGy1Bkvap+CQ==;24:NyJZAy27PH/fSBV2UZYUFgyixyGs9Jsg6cWpuQaP6gTW0D6lO3bPqhXGwTq8im/lUV35i5KLWeBP8ZnSKeEgbvN359R4voR1Q3z2ARSA4M0=;20:1XYEOgJrWh2sf4F/GIBN/HCN1TndHCxKBFKEhOa0aAhJGPT0svAc8DslsgaNN4HlxOBMYsJZNl2lfkdn7j+JsA== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR0301MB1219; X-Microsoft-Antispam-Prvs: X-Exchange-Antispam-Report-Test: UriScan:(108003899814671); X-Exchange-Antispam-Report-Cfa-Test: BCL:0;PCL:0;RULEID:(601004)(2401001)(520078)(5005006)(8121501046)(3002001);SRVR:BN3PR0301MB1219;BCL:0;PCL:0;RULEID:;SRVR:BN3PR0301MB1219; X-Forefront-Prvs: 070092A9D3 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(6009001)(13464003)(189002)(199003)(377454003)(106116001)(40100003)(122556002)(19580395003)(86612001)(77156002)(107886002)(99286002)(101416001)(64706001)(5002640100001)(92566002)(19580405001)(5001960100002)(10090500001)(46102003)(62966003)(5003600100002)(76176999)(2950100001)(5001860100001)(33656002)(2501003)(10400500002)(76576001)(2561002)(2900100001)(102836002)(54356999)(5004730100002)(74316001)(4001540100001)(2201001)(87936001)(50986999)(8990500004)(2421001)(5007970100001)(68736005)(105586002)(97736004)(5001770100001)(189998001)(106356001)(5005710100001)(81156007)(1511001)(86362001)(5001830100001)(77096005)(10290500002)(921003)(3826002)(4001430100001)(1121003);DIR:OUT;SFP:1102;SCL:1;SRVR:BN3PR0301MB1219;H:BY2PR0301MB1654.namprd03.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; Received-Spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) Spamdiagnosticoutput: 1:23 Spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-Originatororg: microsoft.com X-Ms-Exchange-Crosstenant-Originalarrivaltime: 15 Sep 2015 23:27:29.6878 (UTC) X-Ms-Exchange-Crosstenant-Fromentityheader: Hosted X-Ms-Exchange-Crosstenant-ID: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-Ms-Exchange-Transport-Crosstenantheadersstamped: BN3PR0301MB1219 Sender: robomod@news.nic.it List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Approved: robomod@news.nic.it Lines: 46 Organization: linux.* mail to news gateway X-Original-Cc: Jake Oshins X-Original-Date: Tue, 15 Sep 2015 23:27:29 +0000 X-Original-Message-ID: X-Original-References: <1441929670-10058-1-git-send-email-jakeo@microsoft.com> <1441929670-10058-7-git-send-email-jakeo@microsoft.com> X-Original-Sender: linux-kernel-owner@vger.kernel.org Xref: csiph.com linux.kernel:1225584 > -----Original Message----- > From: jakeo@microsoft.com [mailto:jakeo@microsoft.com] > Sent: Thursday, September 10, 2015 5:01 PM > To: gregkh@linuxfoundation.org; KY Srinivasan ; linux- > kernel@vger.kernel.org; devel@linuxdriverproject.org; olaf@aepfle.de; > apw@canonical.com; vkuznets@redhat.com; linux-pci@vger.kernel.org; > bhelgaas@google.com; tglx@linutronix.de > Cc: Jake Oshins > Subject: [PATCH v2 06/12] drivers:hv: Export do_hypercall() > > From: Jake Oshins > > This patch exposes the function that hv_vmbus.ko uses to make hypercalls. > This > is necessary for retargeting an interrupt when it is given a new affinity. > > Signed-off-by: Jake Oshins > --- > drivers/hv/hv.c | 3 ++- > include/linux/hyperv.h | 1 + > 2 files changed, 3 insertions(+), 1 deletion(-) > > diff --git a/drivers/hv/hv.c b/drivers/hv/hv.c > index 6341be8..6d01649 100644 > --- a/drivers/hv/hv.c > +++ b/drivers/hv/hv.c > @@ -91,7 +91,7 @@ static int query_hypervisor_info(void) > /* > * do_hypercall- Invoke the specified hypercall > */ > -static u64 do_hypercall(u64 control, void *input, void *output) > +u64 do_hypercall(u64 control, void *input, void *output) do_hypercall() is not an appropriate name for a function to be exported. I plan to take the base vmbus patches through Greg's tree and if it is ok with you, I will change the name of this function. Regards, K. Y -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/