]> git.baikalelectronics.ru Git - kernel.git/commit
tools/testing/selftests/vm/hmm-tests.c: fix build
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 3 Aug 2022 01:03:03 +0000 (18:03 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 3 Aug 2022 18:40:53 +0000 (11:40 -0700)
commit0b9488dd6de95b8323dc903194c8a5132bd9dbc5
treefd12067c7f5db06bb0ed351486fa6c83fd00b7f6
parent80d8b96459e20ace09edc4252ce5c6cb4b9e59b8
tools/testing/selftests/vm/hmm-tests.c: fix build

hmm-tests.c:1607:42: error: 'HMM_DMIRROR_MIGRATE' undeclared (first use in this function); did you mean 'HMM_DMIRROR_WRITE'?

Fixes: 44389718946cd4a ("mm/hmm: add a test for cross device private faults")
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Ralph Campbell <rcampbell@nvidia.com>
Cc: Alistair Popple <apopple@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/selftests/vm/hmm-tests.c