public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.4.3-pre7 and p*_alloc
@ 2001-03-25 12:50 Russell King
  0 siblings, 0 replies; only message in thread
From: Russell King @ 2001-03-25 12:50 UTC (permalink / raw)
  To: linux-kernel

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-03-25 12:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-25 12:50 2.4.3-pre7 and p*_alloc Russell King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox