Message ID | 1440022048-6285-6-git-send-email-al.stone@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCVJB75R4YBRBTX42OXAKGQETXYAZ3Q@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by patches.linaro.org (Postfix) with ESMTPS id 473C42156D for <linaro@patches.linaro.org>; Wed, 19 Aug 2015 22:08:16 +0000 (UTC) Received: by labd1 with SMTP id d1sf5544742lab.0 for <linaro@patches.linaro.org>; Wed, 19 Aug 2015 15:08:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=BTZ9BjFLDv+A9ZXvU32dtE84y/OmFcPfPINjUpAaEp4=; b=TUoNvCRZwKtp28BFoS1z0pCCkv3xsp68d18diXezDBTNy/Y3HBcx8yjvyWRyCWcnZD QaVJv8Vt975gtbLke3o7wE23EL1Bc1W1Bfo3nubM0r1GEeWxXjycwAew+Yq/O4bvDw87 9xV0tI/81lkU7pbm224HlnvvmTBqGM/25RhpDQqks3l6W3N/8MfVBu7bdB5coZl9jze8 N9VVnENmAjzd75P/RZWx4+DyHCWiKD/WdrirOowpRUIqSzMT7RYLwpsN1mDHS1gdBgsK 1oplUI2621uIp3gTOuL7Owark2sBvLMjjxP59oimop6Zh8R7mR49d/yneyTLRepbQteG LFCQ== X-Gm-Message-State: ALoCoQkWTwt7cXTefaecXHs3cu4V/l2bli+Go5T+cVrzhnWiWU783CrMCfUNDk0+sdbPlgZuB0nz X-Received: by 10.194.188.104 with SMTP id fz8mr3774608wjc.1.1440022095047; Wed, 19 Aug 2015 15:08:15 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.225.135 with SMTP id rk7ls75759lac.96.gmail; Wed, 19 Aug 2015 15:08:14 -0700 (PDT) X-Received: by 10.152.3.228 with SMTP id f4mr6324023laf.46.1440022094855; Wed, 19 Aug 2015 15:08:14 -0700 (PDT) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com. [209.85.215.45]) by mx.google.com with ESMTPS id j9si1972333lam.16.2015.08.19.15.08.14 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Aug 2015 15:08:14 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) client-ip=209.85.215.45; Received: by lalv9 with SMTP id v9so11676714lal.0 for <patchwork-forward@linaro.org>; Wed, 19 Aug 2015 15:08:14 -0700 (PDT) X-Received: by 10.152.170.230 with SMTP id ap6mr13844034lac.73.1440022094773; Wed, 19 Aug 2015 15:08:14 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.112.162.200 with SMTP id yc8csp636872lbb; Wed, 19 Aug 2015 15:08:13 -0700 (PDT) X-Received: by 10.107.170.36 with SMTP id t36mr16858617ioe.107.1440022083120; Wed, 19 Aug 2015 15:08:03 -0700 (PDT) Received: from mail-io0-f180.google.com (mail-io0-f180.google.com. [209.85.223.180]) by mx.google.com with ESMTPS id lr8si3011973igb.57.2015.08.19.15.08.02 for <patches@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Aug 2015 15:08:03 -0700 (PDT) Received-SPF: pass (google.com: domain of al.stone@linaro.org designates 209.85.223.180 as permitted sender) client-ip=209.85.223.180; Received: by iods203 with SMTP id s203so25832113iod.0 for <patches@linaro.org>; Wed, 19 Aug 2015 15:08:02 -0700 (PDT) X-Received: by 10.107.34.147 with SMTP id i141mr14089472ioi.59.1440022081964; Wed, 19 Aug 2015 15:08:01 -0700 (PDT) Received: from fidelio.ahs3.com (c-50-134-239-249.hsd1.co.comcast.net. [50.134.239.249]) by smtp.googlemail.com with ESMTPSA id f126sm1708666ioe.21.2015.08.19.15.08.00 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Aug 2015 15:08:00 -0700 (PDT) From: Al Stone <al.stone@linaro.org> To: linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org, linux-pm@vger.kernel.org, linaro-acpi@lists.linaro.org, linaro-kernel@lists.linaro.org, patches@linaro.org, Al Stone <al.stone@linaro.org>, "Rafael J. Wysocki" <rjw@rjwysocki.net>, Len Brown <lenb@kernel.org> Subject: [PATCH v2 5/5] ACPI: remove definition of BAD_MADT_ENTRY macro Date: Wed, 19 Aug 2015 16:07:28 -0600 Message-Id: <1440022048-6285-6-git-send-email-al.stone@linaro.org> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1440022048-6285-1-git-send-email-al.stone@linaro.org> References: <1440022048-6285-1-git-send-email-al.stone@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: al.stone@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 01e6770..96729d3 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -127,10 +127,6 @@ static inline void acpi_initrd_override(void *data, size_t size) } #endif -#define BAD_MADT_ENTRY(entry, end) ( \ - (!entry) || (unsigned long)entry + sizeof(*entry) > end || \ - ((struct acpi_subtable_header *)entry)->length < sizeof(*entry)) - char * __acpi_map_table (unsigned long phys_addr, unsigned long size); void __acpi_unmap_table(char *map, unsigned long size); int early_acpi_boot_init(void);
Now that we have introduced to bad_madt_entry(), and we have removed all the usages of the BAD_MADT_ENTRY macro from all of the various architectures that use it (arm64, ia64, x86), we can remove the macro definition since it is no longer used. Signed-off-by: Al Stone <al.stone@linaro.org> Cc: Rafael J. Wysocki <rjw@rjwysocki.net> Cc: Len Brown <lenb@kernel.org> --- include/linux/acpi.h | 4 ---- 1 file changed, 4 deletions(-)