diff options
author | Jérôme Glisse <jglisse@redhat.com> | 2016-11-07 15:05:41 -0500 |
---|---|---|
committer | Jérôme Glisse <jglisse@redhat.com> | 2017-04-24 14:11:22 -0400 |
commit | 00c630cc271bb57ed5e42cf9cebe355a594cb1e3 (patch) | |
tree | 5aa31f895d7f61f6b94f9b0d98604ad39da537c1 /fs/cifs/misc.c | |
parent | 774c83881a4fd5b362bef63f3446ae19703aa69f (diff) |
mm/hmm/devmem: dummy HMM device for ZONE_DEVICE memory v3
This introduce a dummy HMM device class so device driver can use it to
create hmm_device for the sole purpose of registering device memory.
It is useful to device driver that want to manage multiple physical
device memory under same struct device umbrella.
Changed since v2:
- use device_initcall() and drop everything that is module specific
Changed since v1:
- Improve commit message
- Add drvdata parameter to set on struct device
Signed-off-by: Jérôme Glisse <jglisse@redhat.com>
Signed-off-by: Evgeny Baskakov <ebaskakov@nvidia.com>
Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Signed-off-by: Mark Hairgrove <mhairgrove@nvidia.com>
Signed-off-by: Sherry Cheung <SCheung@nvidia.com>
Signed-off-by: Subhash Gutti <sgutti@nvidia.com>
Diffstat (limited to 'fs/cifs/misc.c')
0 files changed, 0 insertions, 0 deletions