]> 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)
commit4762e01e136c35088b7401c0d695818da5d23092
treefd12067c7f5db06bb0ed351486fa6c83fd00b7f6
parent8f808ff87c5f1accb606ffa2cbd28bd33ab60a9b
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: 583dc43e3c27104 ("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