[PATCH] module: Remove leftover '#undef' from export header

From: Will Deacon
Date: Wed Sep 11 2019 - 19:00:31 EST


Commit 7290d5809571 ("module: use relative references for __ksymtab
entries") converted the '__put' #define into an assembly macro in
asm-generic/export.h but forgot to remove the corresponding '#undef'.

Remove the leftover '#undef'.

Cc: Ard Biesheuvel <ard.biesheuvel@xxxxxxxxxx>
Cc: Jessica Yu <jeyu@xxxxxxxxxx>
Signed-off-by: Will Deacon <will@xxxxxxxxxx>
---

I spotted this trivial issue when debugging the namespace issue earlier
today, so here's the patch.

include/asm-generic/export.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/include/asm-generic/export.h b/include/asm-generic/export.h
index 294d6ae785d4..153d9c2ee580 100644
--- a/include/asm-generic/export.h
+++ b/include/asm-generic/export.h
@@ -57,7 +57,6 @@ __kcrctab_\name:
#endif
#endif
.endm
-#undef __put

#if defined(CONFIG_TRIM_UNUSED_KSYMS)

--
2.23.0.237.gc6a4ce50a0-goog