]> git.baikalelectronics.ru Git - kernel.git/commit
mm/memory_hotplug: use pgprot_val to get value of pgprot
authorliusongtang <liusongtang@huawei.com>
Tue, 10 May 2022 01:20:52 +0000 (18:20 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 13 May 2022 14:20:07 +0000 (07:20 -0700)
commit6916c97307b9c4539cf1316c92700eb54b54da86
tree4adf3337c0482ceba873e8de9f887249995a476a
parentd0329c7566c3156d513556adacc280d1742fbe64
mm/memory_hotplug: use pgprot_val to get value of pgprot

pgprot.pgprot is non-portable code.  It should be replaced by portable
macro pgprot_val.

Link: https://lkml.kernel.org/r/20220426071302.220646-1-liusongtang@huawei.com
Signed-off-by: liusongtang <liusongtang@huawei.com>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: Xiaoming Ni <nixiaoming@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memory_hotplug.c