Re: [Qemu-devel] [PATCH v2] linux-user: make getcpu optional

2018-02-17 Thread Laurent Vivier
Le 17/02/2018 à 03:02, Mike Frysinger a écrit : > Not all arches implement this, and the kernel doesn't require them to. > Add ifdef logic to disable it when not available. > > Signed-off-by: Mike Frysinger > --- > linux-user/syscall.c | 4 > 1 file changed, 4 insertions(+) > > diff --git

[Qemu-devel] [PATCH v2] linux-user: make getcpu optional

2018-02-16 Thread Mike Frysinger
Not all arches implement this, and the kernel doesn't require them to. Add ifdef logic to disable it when not available. Signed-off-by: Mike Frysinger --- linux-user/syscall.c | 4 1 file changed, 4 insertions(+) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 799c8e2800ea..