mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] x86: numa: include asm/pgtable_areas.h
@ 2024-04-03 20:23 Arnd Bergmann
  2024-04-04  7:48 ` [tip: x86/urgent] x86/numa/32: Include missing <asm/pgtable_areas.h> tip-bot2 for Arnd Bergmann
  0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2024-04-03 20:23 UTC (permalink / raw)
  To: Dave Hansen, Andy Lutomirski, Peter Zijlstra, Thomas Gleixner,
	Ingo Molnar, Borislav Petkov, x86
  Cc: Arnd Bergmann, H. Peter Anvin, linux-kernel

From: Arnd Bergmann <arnd@arndb.de>

The __vmalloc_start_set declaration is in a header that is not included
in numa_32.c in current linux-next:

arch/x86/mm/numa_32.c: In function 'initmem_init':
arch/x86/mm/numa_32.c:57:9: error: '__vmalloc_start_set' undeclared (first use in this function)
   57 |         __vmalloc_start_set = true;
      |         ^~~~~~~~~~~~~~~~~~~
arch/x86/mm/numa_32.c:57:9: note: each undeclared identifier is reported only once for each function it appears in

Add an explicit #include

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
This showed up in linux-next after 6.8-rc1, but could not immediately see what changed.
---
 arch/x86/mm/numa_32.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/mm/numa_32.c b/arch/x86/mm/numa_32.c
index 104544359d69..025fd7ea5d69 100644
--- a/arch/x86/mm/numa_32.c
+++ b/arch/x86/mm/numa_32.c
@@ -24,6 +24,7 @@
 
 #include <linux/memblock.h>
 #include <linux/init.h>
+#include <asm/pgtable_areas.h>
 
 #include "numa_internal.h"
 
-- 
2.39.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [tip: x86/urgent] x86/numa/32: Include missing <asm/pgtable_areas.h>
  2024-04-03 20:23 [PATCH] x86: numa: include asm/pgtable_areas.h Arnd Bergmann
@ 2024-04-04  7:48 ` tip-bot2 for Arnd Bergmann
  0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for Arnd Bergmann @ 2024-04-04  7:48 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: Arnd Bergmann, Ingo Molnar, x86, linux-kernel

The following commit has been merged into the x86/urgent branch of tip:

Commit-ID:     9852b1dc6a140365977d7bfb5fa03d413b3417ad
Gitweb:        https://git.kernel.org/tip/9852b1dc6a140365977d7bfb5fa03d413b3417ad
Author:        Arnd Bergmann <arnd@arndb.de>
AuthorDate:    Wed, 03 Apr 2024 22:23:37 +02:00
Committer:     Ingo Molnar <mingo@kernel.org>
CommitterDate: Thu, 04 Apr 2024 09:39:38 +02:00

x86/numa/32: Include missing <asm/pgtable_areas.h>

The __vmalloc_start_set declaration is in a header that is not included
in numa_32.c in current linux-next:

  arch/x86/mm/numa_32.c: In function 'initmem_init':
  arch/x86/mm/numa_32.c:57:9: error: '__vmalloc_start_set' undeclared (first use in this function)
     57 |         __vmalloc_start_set = true;
        |         ^~~~~~~~~~~~~~~~~~~
  arch/x86/mm/numa_32.c:57:9: note: each undeclared identifier is reported only once for each function it appears in

Add an explicit #include.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20240403202344.3463169-1-arnd@kernel.org
---
 arch/x86/mm/numa_32.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/mm/numa_32.c b/arch/x86/mm/numa_32.c
index 1045443..025fd7e 100644
--- a/arch/x86/mm/numa_32.c
+++ b/arch/x86/mm/numa_32.c
@@ -24,6 +24,7 @@
 
 #include <linux/memblock.h>
 #include <linux/init.h>
+#include <asm/pgtable_areas.h>
 
 #include "numa_internal.h"
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-04-04  7:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-03 20:23 [PATCH] x86: numa: include asm/pgtable_areas.h Arnd Bergmann
2024-04-04  7:48 ` [tip: x86/urgent] x86/numa/32: Include missing <asm/pgtable_areas.h> tip-bot2 for Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®