arch\x86\include\asm\pgtable.h
static
inline
pmd_t pmd_mkdirty(pmd_t pmd)
{
return
pmd_set_flags(pmd, _PAGE_DIRTY | _PAGE_SOFT_DIRTY);
}