Re: [PATCH v2 1/2] selftests: proc: Fix proc-empty-vm build error on non x86_64

From: Shuah Khan
Date: Wed Nov 09 2022 - 20:45:16 EST


On 11/9/22 17:02, Andrew Morton wrote:
On Wed, 9 Nov 2022 22:11:03 +0000 Punit Agrawal <punit.agrawal@xxxxxxxxxxxxx> wrote:

The proc-empty-vm test is implemented for x86_64 and fails to build
for other architectures. Rather then emitting a compiler error it
would be preferable to only build the test on supported architectures.

Why does it fail? What would be involved in making it available
on other architectures?


I have the same question and also don't like adding TEST_GEN_PROGS_x86_64
Please see my comments on the two patches regarding this.

thanks,
-- Shuah