diff options
author | Youling Tang <tangyouling@loongson.cn> | 2021-03-17 11:45:14 +0800 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2021-04-02 11:55:30 +0200 |
commit | 84a6ef00376cc179eb555952b08d9bc5bfcfa67a (patch) | |
tree | 64dff5df481718a8b25812d31c7a839ff56a52ea /kexec/kexec-xen.c | |
parent | d73822b8985b68694336cd6a1aa47fe0233b55cc (diff) |
mips: Fix the increased mem parameter size
The added "mem=size@start" parameter actually corresponds to
"crashkernel=YM@XM", but 1 byte is missing when calculating
the size, so 1 byte should be added.
For example, when using crashkernel=108M@64M (110592K@65536K):
Without this patch:
the mem parameter added is: mem=110591K@65536K
With this patch:
the mem parameter added is: mem=110592K@65536K
Fixes: 0eac64052636 ("kexec: mips: Fix mem parameters")
Signed-off-by: Youling Tang <tangyouling@loongson.cn>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/kexec-xen.c')
0 files changed, 0 insertions, 0 deletions