From patchwork Mon Oct 12 04:20:49 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Boyd X-Patchwork-Id: 53048 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 n9C4P9ne002887 for ; Mon, 12 Oct 2009 04:25:09 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750986AbZJLETO (ORCPT ); Mon, 12 Oct 2009 00:19:14 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751196AbZJLETJ (ORCPT ); Mon, 12 Oct 2009 00:19:09 -0400 Received: from mail-qy0-f172.google.com ([209.85.221.172]:40092 "EHLO mail-qy0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750986AbZJLETH (ORCPT ); Mon, 12 Oct 2009 00:19:07 -0400 Received: by qyk2 with SMTP id 2so7789154qyk.21 for ; Sun, 11 Oct 2009 21:18:31 -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:in-reply-to:references; bh=FFaunjL+3ekjlBw+uPHlXimSMBOzokp9hGB/tCS+QOQ=; b=AyUGq2A3L9fNK68cDdlWFXDRaGqICSNq6wdaX2nR91FfqSvu9ZjT1sZHfw+QI3mmLv E4voyG47xSBss+yRck4G7+lgLeZzu1vkDe2vCJpDnU12YzTgxKksurvzwkU/vspAGOhx tDhX28iohhEB2uWpXMEBnWLxvhqUTAIIKjEIA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=CZBcPEIt1A/sepqBNV7U925+EPMGRWZn/WQlTGW6CGsejPObYXD9AWkOYwgu1/gHjW Zmgrdco0Ky1ollmn7kwQ1R7gHf2/Rp0JjtGmfJEvpgUtr9n4PWctA3kMXD0I2t70KQmy /3J6mN2tHdO2htOrjRwEogLZGdt0pklTonq2g= Received: by 10.224.110.210 with SMTP id o18mr4393374qap.383.1255321111174; Sun, 11 Oct 2009 21:18:31 -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 23sm1399633qyk.15.2009.10.11.21.18.28 (version=SSLv3 cipher=RC4-MD5); Sun, 11 Oct 2009 21:18:30 -0700 (PDT) Received: by earth (sSMTP sendmail emulation); Sun, 11 Oct 2009 21:20:49 -0700 From: Stephen Boyd To: linux-pci@vger.kernel.org Cc: David Woodhouse , linux-kernel@vger.kernel.org, Jesse Barnes Subject: [PATCH] pci/dmar: fix section mismatch in dmar_ir_support() Date: Sun, 11 Oct 2009 21:20:49 -0700 Message-Id: <1255321249-25546-1-git-send-email-bebarino@gmail.com> X-Mailer: git-send-email 1.6.5.195.geae96 In-Reply-To: <1254543340-4473-1-git-send-email-bebarino@gmail.com> References: <1254543340-4473-1-git-send-email-bebarino@gmail.com> 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;