diff options
author | 2023-11-21 15:03:25 +0800 | |
---|---|---|
committer | 2023-11-21 15:03:25 +0800 | |
commit | 902d75cdf0cf0a3fb58550089ee519abf12566f5 (patch) | |
tree | 73510556d509e73623459e72fb55909c4d31ea84 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | LoongArch: Add __percpu annotation for __percpu_read()/__percpu_write() (diff) | |
download | wireguard-linux-902d75cdf0cf0a3fb58550089ee519abf12566f5.tar.xz wireguard-linux-902d75cdf0cf0a3fb58550089ee519abf12566f5.zip |
LoongArch: Silence the boot warning about 'nokaslr'
The kernel parameter 'nokaslr' is handled before start_kernel(), so we
don't need early_param() to mark it technically. But it can cause a boot
warning as follows:
Unknown kernel command line parameters "nokaslr", will be passed to user space.
When we use 'init=/bin/bash', 'nokaslr' which passed to user space will
even cause a kernel panic. So we use early_param() to mark 'nokaslr',
simply print a notice and silence the boot warning (also fix a potential
panic). This logic is similar to RISC-V.
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions