From patchwork Sat Oct 3 04:15:40 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Boyd X-Patchwork-Id: 51497 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n934DpoJ006555 for ; Sat, 3 Oct 2009 04:13:51 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750711AbZJCENg (ORCPT ); Sat, 3 Oct 2009 00:13:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750756AbZJCENg (ORCPT ); Sat, 3 Oct 2009 00:13:36 -0400 Received: from qw-out-2122.google.com ([74.125.92.27]:47808 "EHLO qw-out-2122.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750711AbZJCENf (ORCPT ); Sat, 3 Oct 2009 00:13:35 -0400 Received: by qw-out-2122.google.com with SMTP id 3so621267qwe.37 for ; Fri, 02 Oct 2009 21:13:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:to:cc:subject :date:message-id:x-mailer; bh=IBn4jS49/Rm09p6J1005w6Prw5m3+AKTqQAHOnd7y7Q=; b=hW98wodABmF4qm2IY4ZDfKMoC+fq8HjzZMU6vTKpZ/yQ0Fwj53lAA0e03uNQGaVtWe GbIojKy3dlmabH6Rnt7C3O27piVl76l4D+iHKl04ZufxuhCQIwvmwIRxAmGqE+OhFYYp 3u1bVZVRfZLqP+VzW+jMtiWwhtOc5DXYa8//k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=i904vnzEsf7Bc2ufmWOIH/K8UUM1C2rT56PMOwHm18fGPAMVD/WE5h0i9b29ysbRX+ 0aHZyf6Jj+IGl8UzoMdjUcjB9tnF8Q2dY0uKFnQ5JqCgilFwNKYB+bqST1Ke+mr3+W2e uLhf7X7uLg3icpgoS32m7RG92NWzHaRCLd2aU= Received: by 10.224.88.88 with SMTP id z24mr1686079qal.326.1254543219586; Fri, 02 Oct 2009 21:13:39 -0700 (PDT) Received: from earth (cpe-76-174-15-88.socal.res.rr.com [76.174.15.88]) by mx.google.com with ESMTPS id 7sm691963qwb.51.2009.10.02.21.13.37 (version=SSLv3 cipher=RC4-MD5); Fri, 02 Oct 2009 21:13:38 -0700 (PDT) Received: by earth (sSMTP sendmail emulation); Fri, 02 Oct 2009 21:15:40 -0700 From: Stephen Boyd To: linux-pci@vger.kernel.org Cc: Youquan Song , David Woodhouse , linux-kernel@vger.kernel.org Subject: [PATCH] pci/dmar: add __init annotation to dmar_ir_support() Date: Fri, 2 Oct 2009 21:15:40 -0700 Message-Id: <1254543340-4473-1-git-send-email-bebarino@gmail.com> X-Mailer: git-send-email 1.6.5.rc1.44.ga1675 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org diff --git a/drivers/pci/dmar.c b/drivers/pci/dmar.c index 14bbaa1..fbca5e7 100644 --- a/drivers/pci/dmar.c +++ b/drivers/pci/dmar.c @@ -1327,7 +1327,7 @@ int dmar_reenable_qi(struct intel_iommu *iommu) /* * Check interrupt remapping support in DMAR table description. */ -int dmar_ir_support(void) +int __init dmar_ir_support(void) { struct acpi_table_dmar *dmar; dmar = (struct acpi_table_dmar *)dmar_tbl;