Re: Linux 2.4.2ac25

Ivan Kokshaysky (ink@jurassic.park.msu.ru)
Mon, 26 Mar 2001 20:42:38 +0400


On Mon, Mar 26, 2001 at 07:34:26AM +0100, Alan Cox wrote:
> Alpha has probably been broken by the pre8 merge.

Yep, but not too much. This "unbreaks" it.

Ivan.

--- 2.4.2-ac25/include/asm-alpha/pgalloc.h Mon Mar 26 17:59:22 2001
+++ linux/include/asm-alpha/pgalloc.h Mon Mar 26 19:58:19 2001
@@ -303,7 +303,7 @@ static inline void pmd_free_slow(pmd_t *
free_page((unsigned long)pmd);
}

-static inline pte_t *pte_alloc_one(void)
+static inline pte_t *pte_alloc_one(unsigned long address)
{
pte_t *pte = (pte_t *)__get_free_page(GFP_KERNEL);
if (pte)
@@ -311,7 +311,7 @@ static inline pte_t *pte_alloc_one(void)
return pte;
}

-static inline pte_t *pte_alloc_one_fast(void)
+static inline pte_t *pte_alloc_one_fast(unsigned long address)
{
unsigned long *ret;

-
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/