Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2385330ybb; Mon, 30 Mar 2020 05:16:25 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsmzP9xBE5mstUlEuUq0X1TIl8XNIFSZ2kk9YmKCucccWywtIUk239OPcgQP3OhAKYSGLmj X-Received: by 2002:a9d:6341:: with SMTP id y1mr4374563otk.40.1585570585139; Mon, 30 Mar 2020 05:16:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585570585; cv=none; d=google.com; s=arc-20160816; b=TStzkLJPU2vf1QVWsWkEiRmHtbov4UJQds8eN3zz9+FCRBx0xQz3LcY5E3mgF/UP95 6pfKedZpZrt6tDqDsR9fGT2qasOjq9jx/jg33pYWbUVygnzpIrQ54umNYCMIdgo4BxcZ rgrRJM3YDQNLArhIlKJk9PKYNjOnZ3BoRjUBZVlRJ2c+Yxuu/c6q0/nUCG9qdfzN+jwM IdMyEYsWQDT5wlAu6K+MsXNBn6hoIbYn/wTEctEeDoVN8yNEXgSZg0SPqOBFnLeB8ifU 24NQ4LAMc0AEa0k17wKT4xclzp2I9VYMwr1RnDSDjOblCQmeB/yagUQWc9nt+G2Ka54R JxHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:ironport-sdr:dkim-signature; bh=Xo1qoT1TcODqj92KgxDE/AWJyx0VwjH9iAd7jKH9Pt4=; b=gJvMToqKrDJ9rkYz3GWmxJtfxLNP0Y7yJ/lpWBREAmjLXK4yIFPFd+V8FNDIRKpEZM LIIwAGTnJT2DpJKVFVxAxH1uk097Ziyk1wKijDhojloxu7mPtApCb7cMZW+xmagO0FBV CN5ilnuaDdYTSVzlsfbQlivLHShrEoJFeIaN+VxlF0se22+o7GjXU3brQCsA9mI+j096 xQI6evzgpAmy889ESqBJU4FfS8TRpGSsjlDZX9VkOJVIr6wIcQJbSh0YpEsbdM3O+ddV g6j5/lZ1yEH2Flt6fnHyKVcmJFHFB6+w/3mekJQ8WmuWsR7i3Nm0/V5NSvmMyXgJTicR dzxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=C7HAQ6Un; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m25si516918otq.210.2020.03.30.05.16.12; Mon, 30 Mar 2020 05:16:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=C7HAQ6Un; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729917AbgC3LwC (ORCPT + 99 others); Mon, 30 Mar 2020 07:52:02 -0400 Received: from smtp-fw-33001.amazon.com ([207.171.190.10]:63044 "EHLO smtp-fw-33001.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728764AbgC3LwB (ORCPT ); Mon, 30 Mar 2020 07:52:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1585569122; x=1617105122; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=Xo1qoT1TcODqj92KgxDE/AWJyx0VwjH9iAd7jKH9Pt4=; b=C7HAQ6UnJFKvtlXL8w7kKJEKmEZI01uS02MFHwE6iT7Wr8W2U+P7DYet dYbeK2PY/eykNg9NwUUIBrTUqpzzt8g6idJaYf70Fpc0sli4Y60cZGgK5 Nuj+nnjVkPaA/OhEMMnkcY0L/GSV2z95Ul11k37BZCKfP1nCtWAPvB8pa 8=; IronPort-SDR: 3yN3YB6kPz1HfgK+ElATgsyDTvi2aDUSxr+92WPCKcqbc5+gW+30aVkAauhP9GFLJxPDsQe0tB z3/ZRsW5/DGA== X-IronPort-AV: E=Sophos;i="5.72,324,1580774400"; d="scan'208";a="35591077" Received: from sea32-co-svc-lb4-vlan3.sea.corp.amazon.com (HELO email-inbound-relay-1d-f273de60.us-east-1.amazon.com) ([10.47.23.38]) by smtp-border-fw-out-33001.sea14.amazon.com with ESMTP; 30 Mar 2020 11:51:59 +0000 Received: from EX13MTAUEA002.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan2.iad.amazon.com [10.40.159.162]) by email-inbound-relay-1d-f273de60.us-east-1.amazon.com (Postfix) with ESMTPS id EA083A2B4A; Mon, 30 Mar 2020 11:51:47 +0000 (UTC) Received: from EX13D31EUA001.ant.amazon.com (10.43.165.15) by EX13MTAUEA002.ant.amazon.com (10.43.61.77) with Microsoft SMTP Server (TLS) id 15.0.1236.3; Mon, 30 Mar 2020 11:51:47 +0000 Received: from u886c93fd17d25d.ant.amazon.com (10.43.162.134) by EX13D31EUA001.ant.amazon.com (10.43.165.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 30 Mar 2020 11:51:33 +0000 From: SeongJae Park To: CC: SeongJae Park , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: [RFC v5 1/7] mm/madvise: Export do_madvise() to external GPL modules Date: Mon, 30 Mar 2020 13:50:36 +0200 Message-ID: <20200330115042.17431-2-sjpark@amazon.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200330115042.17431-1-sjpark@amazon.com> References: <20200330115042.17431-1-sjpark@amazon.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.43.162.134] X-ClientProxiedBy: EX13D37UWC003.ant.amazon.com (10.43.162.183) To EX13D31EUA001.ant.amazon.com (10.43.165.15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: SeongJae Park Signed-off-by: SeongJae Park --- mm/madvise.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/madvise.c b/mm/madvise.c index 80f8a1839f70..151aaf285cdd 100644 --- a/mm/madvise.c +++ b/mm/madvise.c @@ -1151,6 +1151,7 @@ int do_madvise(struct task_struct *target_task, struct mm_struct *mm, return error; } +EXPORT_SYMBOL_GPL(do_madvise); SYSCALL_DEFINE3(madvise, unsigned long, start, size_t, len_in, int, behavior) { -- 2.17.1