BTW, I have not found this header file in 2.6.32 kernel, or it's out of date.
2010/8/2 Parmenides <mobile.parmenides@xxxxxxxxx>
Hi,
In include/asm-i386/page.h, the pte_t is defined like this
#ifdef CONFIG_X86_PAE
typedef struct { unsigned long pte_low, pte_high; } pte_t;
#else
typedef struct { unsigned long pte_low; } pte_t;
#endif
in other words, the pte_t is defined according to two situations
respectively. But, a subsequent macro
#define __pte(x) ((pte_t) { (x) } )
is unique yet.
In PAE's case, I think that the __pte should have two parameters that
doesn't exist at all. This really puzzle me.
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ