diff options
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2020-10-04 18:43:38 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2020-10-05 20:45:44 -0300 |
commit | efc5b2e73cc0a8aabf377bcbd9296546e9cc9b2d (patch) | |
tree | 6cd0353bb453ef7ecb574e33fab2956c9e418c56 /tools/testing/scatterlist/Makefile | |
parent | 549738f15da0e5a00275977623be199fbbf7df50 (diff) | |
download | linux-stable-efc5b2e73cc0a8aabf377bcbd9296546e9cc9b2d.tar.gz linux-stable-efc5b2e73cc0a8aabf377bcbd9296546e9cc9b2d.tar.bz2 linux-stable-efc5b2e73cc0a8aabf377bcbd9296546e9cc9b2d.zip |
tools/testing/scatterlist: Rejuvenate bit-rotten test
A couple small tweaks are needed to make the test build and run
on current kernels.
Link: https://lore.kernel.org/r/20201004154340.1080481-3-leon@kernel.org
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Maor Gottlieb <maorg@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/testing/scatterlist/Makefile')
-rw-r--r-- | tools/testing/scatterlist/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/testing/scatterlist/Makefile b/tools/testing/scatterlist/Makefile index cbb003d9305e..c65233876622 100644 --- a/tools/testing/scatterlist/Makefile +++ b/tools/testing/scatterlist/Makefile @@ -14,7 +14,7 @@ targets: include $(TARGETS) main: $(OFILES) clean: - $(RM) $(TARGETS) $(OFILES) scatterlist.c linux/scatterlist.h linux/highmem.h linux/kmemleak.h asm/io.h + $(RM) $(TARGETS) $(OFILES) scatterlist.c linux/scatterlist.h linux/highmem.h linux/kmemleak.h linux/slab.h asm/io.h @rmdir asm scatterlist.c: ../../../lib/scatterlist.c @@ -28,4 +28,5 @@ include: ../../../include/linux/scatterlist.h @touch asm/io.h @touch linux/highmem.h @touch linux/kmemleak.h + @touch linux/slab.h @cp $< linux/scatterlist.h |