aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/setup.h
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2021-11-29 17:41:52 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2021-11-29 17:41:52 +1100
commitaf3fdce4ab0781ea183107c90de9cbf21d701c54 (patch)
tree1807637ca2308d4edf08ea0a5750ab8f914b4303 /arch/powerpc/include/asm/setup.h
parentpowerpc/watchdog: Fix wd_smp_last_reset_tb reporting (diff)
downloadlinux-dev-af3fdce4ab0781ea183107c90de9cbf21d701c54.tar.xz
linux-dev-af3fdce4ab0781ea183107c90de9cbf21d701c54.zip
Revert "powerpc/code-patching: Improve verification of patchability"
This reverts commit 8b8a8f0ab3f5519e45c526f826a655817486c5bb. As reported[1] by Sachin this causes problems with ftrace, and it also causes the code patching selftests to fail as reported[2] by Stephen. So revert it for now. 1: https://lore.kernel.org/linuxppc-dev/3668743C-09DF-4673-B15C-2FFE2A57F7D7@linux.vnet.ibm.com/ 2: https://lore.kernel.org/linuxppc-dev/20211126161747.1f7795b0@canb.auug.org.au/ Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/setup.h')
-rw-r--r--arch/powerpc/include/asm/setup.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/setup.h b/arch/powerpc/include/asm/setup.h
index 426a2d8d028f..6c1a7d217d1a 100644
--- a/arch/powerpc/include/asm/setup.h
+++ b/arch/powerpc/include/asm/setup.h
@@ -9,6 +9,7 @@ extern void ppc_printk_progress(char *s, unsigned short hex);
extern unsigned int rtas_data;
extern unsigned long long memory_limit;
+extern bool init_mem_is_free;
extern void *zalloc_maybe_bootmem(size_t size, gfp_t mask);
struct device_node;