On Mon, Oct 28, 2002 at 10:58:49AM +0900, Naohiko Shimizu wrote:
> This patch includes i386, alpha, sparc64 ports.
> But I could not compile for alpha even with plain 2.5.44, and
Here's a small patch on top of yours to fix a typo and add set_pte_raw
for Alpha.
/jeff
---- diff -Nuar superpage/include/asm-alpha/pgtable.h superpage.alpha/include/asm-alpha/pgtable.h --- superpage/include/asm-alpha/pgtable.h Sun Oct 27 21:16:02 2002 +++ superpage.alpha/include/asm-alpha/pgtable.h Sun Oct 27 21:20:45 2002 @@ -275,7 +275,7 @@ #define SUPER_PAGE_MASK 0x0060 #define SUPER_PAGE_MASK_SHIFT 5 #define SUPER_PAGE_NR 4 -#define SIZEOF_PTE_LOG2 SEZEOF_PTR_LOG2 +#define SIZEOF_PTE_LOG2 SIZEOF_PTR_LOG2 void down_pte_sp(pte_t *pteptr, int index); void clear_pte_sp(pte_t *pteptr, int index); extern int super_page_order[]; @@ -288,6 +288,7 @@ {pte_val(pte) &= ~SUPER_PAGE_MASK; return pte;} extern inline void pte_clear(pte_t *ptep) \ { pte_t pte; pte_val(pte)=0; set_pte(ptep, pte); } +#define set_pte_raw(pteptr, pteval) set_pte(pteptr, pteval) #else extern inline int pte_none(pte_t pte) { return !(pte_val(pte)); } extern inline void pte_clear(pte_t *ptep) { pte_val(*ptep)=0; }- 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/
This archive was generated by hypermail 2b29 : Thu Oct 31 2002 - 22:00:35 EST