2.4.3-pre7 and p*_alloc

Russell King (rmk@arm.linux.org.uk)
Sun, 25 Mar 2001 13:50:25 +0100


Hi,

I'm looking at re-implementing the ARM page table allocation macros
required for 2.4.3-pre7, and have found the following:

pte_t *pte_alloc(struct mm_struct *mm, pmd_t *pmd, unsigned long address)
{
if (!pmd_present(*pmd)) {

Why do we use pmd_present here instead of pmd_none? The same question
applies to __pmd_alloc.

--
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/