From: Ma Wupeng mawupeng1@huawei.com
euleros inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I7WLVX
---------------------------------------------
Driver GMEM_DEV can be enabled on demand, there is no need to select it for gmem.
Add GPL license for gmem_dev.
Signed-off-by: Ma Wupeng mawupeng1@huawei.com --- drivers/char/gmem_dev.c | 1 + mm/Kconfig | 1 - 2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/char/gmem_dev.c b/drivers/char/gmem_dev.c index 225ed506a9c0..fcb9935cd867 100644 --- a/drivers/char/gmem_dev.c +++ b/drivers/char/gmem_dev.c @@ -114,3 +114,4 @@ static struct miscdevice gmem_miscdev = { };
builtin_misc_device(gmem_miscdev); +MODULE_LICENSE("GPL"); diff --git a/mm/Kconfig b/mm/Kconfig index b950407dd87f..7bf98487c1cc 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -1210,7 +1210,6 @@ config GMEM bool "gmem subsystem for multi-MMU cooperative management" depends on (ARM64 || X86_64) && MMU && TRANSPARENT_HUGEPAGE select ARCH_USES_HIGH_VMA_FLAGS - select GMEM_DEV default y help say Y here to enable gmem subsystem