diff options
author | Christoph Hellwig <hch@lst.de> | 2019-06-26 14:27:23 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-07-02 14:32:45 -0300 |
commit | 43535b0aefab29ea6564e608de4c783ed2ab6c49 (patch) | |
tree | a8f281efcd7dd66e658c06351695e3b4bf65cccf /include/linux/mm_types.h | |
parent | 7328d9cc1b9fdc52105901072e9a4a1234e29b11 (diff) | |
download | linux-43535b0aefab29ea6564e608de4c783ed2ab6c49.tar.gz linux-43535b0aefab29ea6564e608de4c783ed2ab6c49.tar.bz2 linux-43535b0aefab29ea6564e608de4c783ed2ab6c49.zip |
mm: remove the HMM config option
All the mm/hmm.c code is better keyed off HMM_MIRROR. Also let nouveau
depend on it instead of the mix of a dummy dependency symbol plus the
actually selected one. Drop various odd dependencies, as the code is
pretty portable.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/linux/mm_types.h')
-rw-r--r-- | include/linux/mm_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h index f33a1289c101..8d37182f8dbe 100644 --- a/include/linux/mm_types.h +++ b/include/linux/mm_types.h @@ -501,7 +501,7 @@ struct mm_struct { #endif struct work_struct async_put_work; -#if IS_ENABLED(CONFIG_HMM) +#ifdef CONFIG_HMM_MIRROR /* HMM needs to track a few things per mm */ struct hmm *hmm; #endif |