From patchwork Wed Jan 29 18:19:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 3553631 Return-Path: X-Original-To: patchwork-linux-acpi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id CF8879F382 for ; Wed, 29 Jan 2014 18:21:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 230BF2018A for ; Wed, 29 Jan 2014 18:21:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2EB172018E for ; Wed, 29 Jan 2014 18:21:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752064AbaA2SVC (ORCPT ); Wed, 29 Jan 2014 13:21:02 -0500 Received: from mail-ig0-f177.google.com ([209.85.213.177]:56391 "EHLO mail-ig0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753414AbaA2STf (ORCPT ); Wed, 29 Jan 2014 13:19:35 -0500 Received: by mail-ig0-f177.google.com with SMTP id k19so5209200igc.4 for ; Wed, 29 Jan 2014 10:19:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:to:from:cc:date:message-id:in-reply-to:references :user-agent:mime-version:content-type:content-transfer-encoding; bh=1gb2YKKos4992joOOzg8sI6lGdz/pW4aVuZ0We81Nak=; b=YFugelNGsNcBGWUbdJCLCPnfVYnhnTStYeXgncUpzqm6HczMZnBdyYvQHa10XgePPg Gi1zgOQhIE77sqQsQCPtH+kJoRdlLRD03hCom58gFxMHTbLNmEPjMMrBczQqWBk2m2id hUeQJgwhkqYFZqkWOm4hpvHU9Ky06fRr7dMQQvB3FTpNSLee88APZKrhMhUhH9S3YaaJ SeiKoKQ6fhSubu5NH3tuEEZUtkO3PT+3Un5+eJD+2bgzEG9JF8tFO3FJqeYv6RIzkqcQ QiA/zPV+951PunAD/goaGejHTTLCcTPM7DXQpk5Kes1YIJWMgrdyNTS1Nly31smDVqTl o5Uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:from:cc:date:message-id:in-reply-to :references:user-agent:mime-version:content-type :content-transfer-encoding; bh=1gb2YKKos4992joOOzg8sI6lGdz/pW4aVuZ0We81Nak=; b=dqXM4t6oW4HgP0jvikhtPD2ZIZGWUGHV52LOqnlPAx0lIgZQVTHhgxe3SVNrxAeI+K BcmB5Zx7b/htJF4+eEn6s/JAJaqttdGCzhh6N5YpuNjFEmTiGShaFNVNUtz1UjQrA6WD BdTF3b+qe7XEOl6fzVEJjGObRgsnsMW/3QuyHo/VgyUBMQ/2vCSVZMogMjvBypHRbm7t 58EAqVoai3sRejRXyPma4jOG8cxnxYc3xi6jywHKNNosKcZIOrk+2+2ZGy3u/ZM8Zkcv M3JgZuydn4ZTuv2S+dyA659ALAJne8wF68iCci/HZtxGB4uHIlvLwwXVwZGOGJ1SPSqw 2WoA== X-Gm-Message-State: ALoCoQnG1y+tBqAlYsQVXijE6Ghff44CGX6/vF6Kn4zXSPhW6qb3ucsBOtLv71u4fed8V4LC2aKj4nkNyVRAePYVQuUXnn2lDi1XWOWoP6hxyc2vafv6phv1shjYpy5blPXHdVMl9yU5aHAKWiae7zJ3tbry4pQutv69AgUbWd6hXcCTrtq8PeGz6hI6R450zPJJHK0/H0JtWc8+WAgdbtGlXFnoZ7bVxQ== X-Received: by 10.43.138.143 with SMTP id is15mr7213831icc.23.1391019575086; Wed, 29 Jan 2014 10:19:35 -0800 (PST) Received: from localhost ([172.29.123.160]) by mx.google.com with ESMTPSA id fk5sm70373607igb.9.2014.01.29.10.19.33 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 29 Jan 2014 10:19:34 -0800 (PST) Subject: [PATCH 17/17] ACPI / numa: Use __weak, not the gcc-specific version To: linux-pci@vger.kernel.org From: Bjorn Helgaas Cc: linux-acpi@vger.kernel.org, x86@kernel.org, linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org Date: Wed, 29 Jan 2014 11:19:32 -0700 Message-ID: <20140129181932.15476.8351.stgit@bhelgaas-glaptop.roam.corp.google.com> In-Reply-To: <20140129174106.15476.7075.stgit@bhelgaas-glaptop.roam.corp.google.com> References: <20140129174106.15476.7075.stgit@bhelgaas-glaptop.roam.corp.google.com> User-Agent: StGit/0.16 MIME-Version: 1.0 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Use "__weak" instead of the gcc-specific "__attribute__ ((weak))". Signed-off-by: Bjorn Helgaas --- drivers/acpi/numa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/acpi/numa.c b/drivers/acpi/numa.c index 359a43bdd948..24b5476449a1 100644 --- a/drivers/acpi/numa.c +++ b/drivers/acpi/numa.c @@ -193,7 +193,7 @@ static int __init acpi_parse_slit(struct acpi_table_header *table) return 0; } -void __init __attribute__ ((weak)) +void __init __weak acpi_numa_x2apic_affinity_init(struct acpi_srat_x2apic_cpu_affinity *pa) { printk(KERN_WARNING PREFIX