From patchwork Mon Jan 13 21:33:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 11330959 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 60C3D138D for ; Mon, 13 Jan 2020 21:34:52 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 46D232084D for ; Mon, 13 Jan 2020 21:34:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 46D232084D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xen.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1ir7LZ-0006eC-Rl; Mon, 13 Jan 2020 21:34:05 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1ir7LY-0006de-OR for xen-devel@lists.xenproject.org; Mon, 13 Jan 2020 21:34:04 +0000 X-Inumbo-ID: 62ea7bc8-364c-11ea-ac27-bc764e2007e4 Received: from mail-wr1-f68.google.com (unknown [209.85.221.68]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 62ea7bc8-364c-11ea-ac27-bc764e2007e4; Mon, 13 Jan 2020 21:33:49 +0000 (UTC) Received: by mail-wr1-f68.google.com with SMTP id d16so10166188wre.10 for ; Mon, 13 Jan 2020 13:33:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=T+ICfyiaxyl3mYQBkb773eny0WW4m/+Ovdm25iUJNXs=; b=koYGnnWbgpDWXJCN5InWLRP9FIAJhj1ke87hT/zjKn4jJTErB91oljS9ca36IJGCZR juppKIKmmAwT3u4lEzzTKp83syO4p1Ch9Vt0VvzW2cnDYitxDOo2QNoI5i7FSCfr99HH lSuqe4AUhGOt+EhhAeM7iPz4hL/0QYKLLNvFo4nCAUItIRjiAuQmW6bqYVqgAhDLgsAT YgFurxDe/YwTJZpr643Fh48Z+GkHjUVXgO/sB06tzGdKoMJ7K0rY8As02PDKRVcY11Zl FFrG3JJe4vNgqQ7WeCaKwLELysYVAKNir+fuzlUj0ul1IhFWPKcYI541E+mjfCAkmz9s T/Aw== X-Gm-Message-State: APjAAAX2rzUnCfpOmyc1h93vjaZWnxR+YMIRQWfYCeNUiB/5Jg/qKBy6 odUXDhXpIfk3onSwYbLk8JRUycvwGy8B+Q== X-Google-Smtp-Source: APXvYqyUa+MLB5POGRi+focv1/rXqV2rQqKEdHEkgXDkc5Ilnu3p+KiiR5t5oGxNTpAz4eFWLKq18g== X-Received: by 2002:a5d:4b4e:: with SMTP id w14mr20507436wrs.187.1578951228902; Mon, 13 Jan 2020 13:33:48 -0800 (PST) Received: from a483e7b01a66.ant.amazon.com (54-240-197-230.amazon.com. [54.240.197.230]) by smtp.gmail.com with ESMTPSA id i10sm16938652wru.16.2020.01.13.13.33.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Jan 2020 13:33:48 -0800 (PST) From: Julien Grall To: xen-devel@lists.xenproject.org Date: Mon, 13 Jan 2020 21:33:41 +0000 Message-Id: <20200113213342.8206-4-julien@xen.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20200113213342.8206-1-julien@xen.org> References: <20200113213342.8206-1-julien@xen.org> MIME-Version: 1.0 Subject: [Xen-devel] [PATCH 3/4] xen/domain: Remove #ifndef surrounding alloc_pirq_struct() X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Stefano Stabellini , Julien Grall , Wei Liu , Konrad Rzeszutek Wilk , George Dunlap , Andrew Cooper , Julien Grall , Ian Jackson , Jan Beulich Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" From: Julien Grall None of the supported architecture override alloc_pirq_struct() with a macro. So remove the #ifdef surrounding the prototype. Signed-off-by: Julien Grall --- xen/include/xen/domain.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/xen/include/xen/domain.h b/xen/include/xen/domain.h index 1cb205d977..89bf0a1721 100644 --- a/xen/include/xen/domain.h +++ b/xen/include/xen/domain.h @@ -41,9 +41,7 @@ struct vcpu *alloc_vcpu_struct(const struct domain *d); void free_vcpu_struct(struct vcpu *v); /* Allocate/free a PIRQ structure. */ -#ifndef alloc_pirq_struct struct pirq *alloc_pirq_struct(struct domain *); -#endif void free_pirq_struct(void *); /*