Message ID | 7f36be5fdf491259d6c8100232fa93ff40edf841.1547214440.git.andreyknvl@google.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2CC1E13BF for <patchwork-linux-mm@patchwork.kernel.org>; Fri, 11 Jan 2019 13:47:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3E8BF29931 for <patchwork-linux-mm@patchwork.kernel.org>; Fri, 11 Jan 2019 13:47:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3144A29C66; Fri, 11 Jan 2019 13:47:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, USER_IN_DEF_DKIM_WL autolearn=unavailable version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D443E29931 for <patchwork-linux-mm@patchwork.kernel.org>; Fri, 11 Jan 2019 13:47:48 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 7B37F8E0003; Fri, 11 Jan 2019 08:47:47 -0500 (EST) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 78A868E0001; Fri, 11 Jan 2019 08:47:47 -0500 (EST) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 679268E0003; Fri, 11 Jan 2019 08:47:47 -0500 (EST) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by kanga.kvack.org (Postfix) with ESMTP id 13B378E0001 for <linux-mm@kvack.org>; Fri, 11 Jan 2019 08:47:47 -0500 (EST) Received: by mail-wm1-f70.google.com with SMTP id e1so645321wmg.0 for <linux-mm@kvack.org>; Fri, 11 Jan 2019 05:47:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:dkim-signature:from:to:cc:subject:date :message-id:mime-version:content-transfer-encoding; bh=JfzJzGO9UGsoHAHmj51k1BlHyWbSStwDHYTwKhI57Y4=; b=rTYerOftvXKhkzwrzA2chap4QgP5tiVdbA32qXTyu+1uFzLUa2fBEw0Jm6cEVdYXkg Upw2C8B/v68tbC+dpwgMn2kaqQ6SW0SO2K+/sAzmMPZmtsGg/pY00NARsRBICCB/+753 BrH8fYkH0HxBWWINz92mgcNE7O4RUSrjN8Nb/Oc4IrwyxShX44MILg9g7Zo1bTS4K+sn jGoDPpq2bGe4zRGEufPHbRFyFZv8yL52z4eNpV1KAZ6B2kJOCRGj0tr3Juqk2Jv3M3wS MJupTCW35vs51TuuaEhaCLXJSVldPByPN8QoVgoiB6nv2se/5rQtf6Sp6/oQK6+NryEv qaSA== X-Gm-Message-State: AJcUukcDbhmh83ZOeus7jhYSDQC5k76o75fnoKk3U1uIAhFCCxnSJjSv shxKgkCCO4b9APDTGUpzbtPd12IIpiLxk4oegjvxowA7AWyvNrFqWB7BFTT8Yj5ijKAlMiJ9OOz Ypb5HUwnjY8qAuaPrIKYz5hkGx8qMJHoowGKPcXsfTgDOkptNabZrSoPpgFhZXocyl1HAhx8haC ybglqlAYVpQwsVtMEtS5Y70x53oLDxCPcOw7/FL0++fLtPpDqoTRZW6w/4BxNhKyXOjc5ixQ4A8 7PrhQ/5JcRQ/QktlSPcDdMvVbPlyVDhul477e2Y36EoDgG5ImiDoHATrNnA3fI90AwDN4+prlOf NKac/zjJ0yUORiP/5BeH5og66lFKMr7V1g/6bI4WHyG7CuZgNvDUSQNHZYVKjjnK/l0gMF8vmmL J X-Received: by 2002:adf:fbc8:: with SMTP id d8mr13335916wrs.318.1547214466468; Fri, 11 Jan 2019 05:47:46 -0800 (PST) X-Received: by 2002:adf:fbc8:: with SMTP id d8mr13335868wrs.318.1547214465628; Fri, 11 Jan 2019 05:47:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547214465; cv=none; d=google.com; s=arc-20160816; b=qcdkmskA4q5pTwOOjQ4Bq+3q61NvvZF0UqD/fPoqEXx+dMUob1TBEvhPKpIbRFmLTY ZB2sn/HetnGEdd0ZErWhkWnEGyiLt/TFghzN7CNjjW4kJZEdTF+EiJMnzpiKiioPH1UX xZfMwgpUuVwG5VRNC7CbBTwBDp++o8KbU1j5t2RLOD6aCtSJaAzf58DNfdwqWjahiUdl r3djS2qHUwuCE9TgVzGr6mm/i2svNzKj6Kz88ptEFrBbc4IBLd2iGqBK23USWta/JIKH 0ZA+3TZ00ANvOwquo5qPTj+OqcqCbb8wzFtngYok6KAbSYZF3kqIorUY8dIP/CgXoGLp 41ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=JfzJzGO9UGsoHAHmj51k1BlHyWbSStwDHYTwKhI57Y4=; b=glUfPOE+ooa6xvQQ1bwU2+3LYxVHevl38iW9DfYw6NO7tK66Yg92IwW4CV1MUR26xz L7+RWzRqytoKfK6dCEdZwyCnMWrtD/ZRuf25n+iUobOxaRT/Gxmfzo9tfdt5BPZB1Htg KsSt6oaOIe3F+vyhXOO7nhouOseVWGvGcpWQkRsASNaur53tzBjX0Y8g/DzgH1c4XMS8 dSnf46K7Dr5ltsSm+Kd7RllfR93/P8Vs4iG+0x2tfDprG5h5KyDS/ziiiL0Y6SRuN4nq 3mwUd68k1bPA7o7NXalCI4ICEw1FF9lTPyzb+niuBO+R/qf+rwAQY3GLX1RDaXf+Mgd3 gnmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=NEkMkJ+m; spf=pass (google.com: domain of andreyknvl@google.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=andreyknvl@google.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id y5sor43009005wrs.27.2019.01.11.05.47.45 for <linux-mm@kvack.org> (Google Transport Security); Fri, 11 Jan 2019 05:47:45 -0800 (PST) Received-SPF: pass (google.com: domain of andreyknvl@google.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=NEkMkJ+m; spf=pass (google.com: domain of andreyknvl@google.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=andreyknvl@google.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=JfzJzGO9UGsoHAHmj51k1BlHyWbSStwDHYTwKhI57Y4=; b=NEkMkJ+mRpnXceIfKVHdidDME1rqbsVFFyuYNbksIGQ533359BmSQX2EilvvFPUN6D tGfDFrq2ukPIHlM36+5L0mDWXTb6Ve78GanvqRtToFr9dzd5KVM3wt9Pdl6siWpUfse4 FM0lDfchKlAfLUl0AZ5gJk8fL7NW1qg+hR9XSoLfs+Z5XmjjckYgRkY/AkXKSzSCU91y J+sHFqQ8l26j7qabqmqE5gGX/GMMNOIuG3uKV4yyNrFVQmdFZgyrIK7bQhcGK3CrmYTF 10lqjyd/OFB8ceEbDt1sdwwdIcMne/mU27opORNvTLOz9taoqsIXnKQtKou48XFVcVW8 MQpg== X-Google-Smtp-Source: ALg8bN79o72/jOe8866Av4s1M/ZY2sXogUQzDJeTqtK3cI+i3sVXtdmXDxWwD/wEpFd113uizmdOkg== X-Received: by 2002:a5d:454f:: with SMTP id p15mr14423289wrr.39.1547214464989; Fri, 11 Jan 2019 05:47:44 -0800 (PST) Received: from andreyknvl0.muc.corp.google.com ([2a00:79e0:15:13:8ce:d7fa:9f4c:492]) by smtp.gmail.com with ESMTPSA id 3sm22946971wmw.46.2019.01.11.05.47.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Jan 2019 05:47:43 -0800 (PST) From: Andrey Konovalov <andreyknvl@google.com> To: Andrey Ryabinin <aryabinin@virtuozzo.com>, Alexander Potapenko <glider@google.com>, Dmitry Vyukov <dvyukov@google.com>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will.deacon@arm.com>, Christoph Lameter <cl@linux.com>, Andrew Morton <akpm@linux-foundation.org>, Mark Rutland <mark.rutland@arm.com>, Nick Desaulniers <ndesaulniers@google.com>, Marc Zyngier <marc.zyngier@arm.com>, Dave Martin <dave.martin@arm.com>, Ard Biesheuvel <ard.biesheuvel@linaro.org>, "Eric W . Biederman" <ebiederm@xmission.com>, Ingo Molnar <mingo@kernel.org>, Paul Lawrence <paullawrence@google.com>, Geert Uytterhoeven <geert@linux-m68k.org>, Arnd Bergmann <arnd@arndb.de>, "Kirill A . Shutemov" <kirill.shutemov@linux.intel.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Kate Stewart <kstewart@linuxfoundation.org>, Mike Rapoport <rppt@linux.vnet.ibm.com>, Vincenzo Frascino <vincenzo.frascino@arm.com>, kasan-dev@googlegroups.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sparse@vger.kernel.org, linux-mm@kvack.org, linux-kbuild@vger.kernel.org Cc: Kostya Serebryany <kcc@google.com>, Evgeniy Stepanov <eugenis@google.com>, Lee Smith <Lee.Smith@arm.com>, Ramana Radhakrishnan <Ramana.Radhakrishnan@arm.com>, Jacob Bramley <Jacob.Bramley@arm.com>, Ruben Ayrapetyan <Ruben.Ayrapetyan@arm.com>, Jann Horn <jannh@google.com>, Mark Brand <markbrand@google.com>, Chintan Pandya <cpandya@codeaurora.org>, Vishwath Mohan <vishwath@google.com>, Andrey Konovalov <andreyknvl@google.com> Subject: [PATCH] kasan, arm64: remove redundant ARCH_SLAB_MINALIGN define Date: Fri, 11 Jan 2019 14:47:40 +0100 Message-Id: <7f36be5fdf491259d6c8100232fa93ff40edf841.1547214440.git.andreyknvl@google.com> X-Mailer: git-send-email 2.20.1.97.g81188d93c3-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
kasan, arm64: remove redundant ARCH_SLAB_MINALIGN define
|
expand
|
diff --git a/arch/arm64/include/asm/cache.h b/arch/arm64/include/asm/cache.h index eb43e09c1980..926434f413fa 100644 --- a/arch/arm64/include/asm/cache.h +++ b/arch/arm64/include/asm/cache.h @@ -60,8 +60,6 @@ #ifdef CONFIG_KASAN_SW_TAGS #define ARCH_SLAB_MINALIGN (1ULL << KASAN_SHADOW_SCALE_SHIFT) -#else -#define ARCH_SLAB_MINALIGN __alignof__(unsigned long long) #endif #ifndef __ASSEMBLY__
Defining ARCH_SLAB_MINALIGN in arch/arm64/include/asm/cache.h when KASAN is off is not needed, as it is defined in defined in include/linux/slab.h as ifndef. Signed-off-by: Andrey Konovalov <andreyknvl@google.com> --- arch/arm64/include/asm/cache.h | 2 -- 1 file changed, 2 deletions(-)