mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

* some old patches apparently unneeded have been removed * patches are now better split * fix build for x86 and x86-64 * tested with qemuarm, qemuppc, qemumips, qemux86, qemux86-64 Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
14 lines
280 B
Diff
14 lines
280 B
Diff
--- a/kexec/crashdump-elf.c
|
|
+++ b/kexec/crashdump-elf.c
|
|
@@ -47,7 +47,8 @@
|
|
if (xen_present())
|
|
nr_cpus = xen_get_nr_phys_cpus();
|
|
else
|
|
- nr_cpus = sysconf(_SC_NPROCESSORS_CONF);
|
|
+ /*nr_cpus = sysconf(_SC_NPROCESSORS_CONF);*/
|
|
+ nr_cpus = 1;
|
|
|
|
if (nr_cpus < 0) {
|
|
return -1;
|
|
|