[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZIlpWR6/uWwQUc6J@shell.armlinux.org.uk>
Date: Wed, 14 Jun 2023 08:16:41 +0100
From: "Russell King (Oracle)" <linux@...linux.org.uk>
To: Wei Chin Tsai <Wei-chin.Tsai@...iatek.com>
Cc: linux-kernel@...r.kernel.org,
Matthias Brugger <matthias.bgg@...il.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>,
wsd_upstream@...iatek.com, mel.lee@...iatek.com,
ivan.tseng@...iatek.com, linux-arm-kernel@...ts.infradead.org,
linux-fsdevel@...r.kernel.org, linux-mediatek@...ts.infradead.org
Subject: Re: [PATCH v2 2/3] memory: export symbols for memory related
functions
On Wed, Jun 14, 2023 at 11:20:34AM +0800, Wei Chin Tsai wrote:
> diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c
> index 0e8ff85890ad..df91412a1069 100644
> --- a/arch/arm/kernel/process.c
> +++ b/arch/arm/kernel/process.c
> @@ -343,6 +343,7 @@ const char *arch_vma_name(struct vm_area_struct *vma)
> {
> return is_gate_vma(vma) ? "[vectors]" : NULL;
> }
> +EXPORT_SYMBOL_GPL(arch_vma_name);
...
> diff --git a/kernel/signal.c b/kernel/signal.c
> index b5370fe5c198..a1abe77fcdc3 100644
> --- a/kernel/signal.c
> +++ b/kernel/signal.c
> @@ -4700,6 +4700,7 @@ __weak const char *arch_vma_name(struct vm_area_struct *vma)
> {
> return NULL;
> }
> +EXPORT_SYMBOL_GPL(arch_vma_name);
Have you confirmed:
1) whether this actually builds
2) whether this results in one or two arch_vma_name exports
?
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
Powered by blists - more mailing lists