From: Shani Moideen <shani.moideen@wipro.com>
To: linux-mm@kvack.org
Cc: linux-kernel@vger.kernel.org, kernel-janitors@lists.osdl.org
Subject: [KJ] [KJ PATCH] Replacing alloc_pages(gfp,
Date: Wed, 09 May 2007 12:12:41 +0000 [thread overview]
Message-ID: <1178712041.2280.25.camel@shani-win> (raw)
In-Reply-To: <1178711839.2280.21.camel@shani-win>
Hi,
Replacing alloc_pages(gfp,0) with alloc_page(gfp) in
arch/i386/mm/pgtable.c.
Signed-off-by: Shani Moideen <shani.moideen@wipro.com>
----
diff --git a/arch/i386/mm/pgtable.c b/arch/i386/mm/pgtable.c
index fa0cfbd..5d2b0fb 100644
--- a/arch/i386/mm/pgtable.c
+++ b/arch/i386/mm/pgtable.c
@@ -191,9 +191,9 @@ struct page *pte_alloc_one(struct mm_struct *mm, unsigned long address)
struct page *pte;
#ifdef CONFIG_HIGHPTE
- pte = alloc_pages(GFP_KERNEL|__GFP_HIGHMEM|__GFP_REPEAT|__GFP_ZERO, 0);
+ pte = alloc_page(GFP_KERNEL|__GFP_HIGHMEM|__GFP_REPEAT|__GFP_ZERO);
#else
- pte = alloc_pages(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO, 0);
+ pte = alloc_page(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO);
#endif
return pte;
}
--
Shani
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors
WARNING: multiple messages have this Message-ID (diff)
From: Shani Moideen <shani.moideen@wipro.com>
To: linux-mm@kvack.org
Cc: linux-kernel@vger.kernel.org, kernel-janitors@lists.osdl.org
Subject: [KJ PATCH] Replacing alloc_pages(gfp,0) with alloc_page(gfp) in arch/i386/mm/pgtable.c.
Date: Wed, 09 May 2007 17:30:41 +0530 [thread overview]
Message-ID: <1178712041.2280.25.camel@shani-win> (raw)
Hi,
Replacing alloc_pages(gfp,0) with alloc_page(gfp) in
arch/i386/mm/pgtable.c.
Signed-off-by: Shani Moideen <shani.moideen@wipro.com>
----
diff --git a/arch/i386/mm/pgtable.c b/arch/i386/mm/pgtable.c
index fa0cfbd..5d2b0fb 100644
--- a/arch/i386/mm/pgtable.c
+++ b/arch/i386/mm/pgtable.c
@@ -191,9 +191,9 @@ struct page *pte_alloc_one(struct mm_struct *mm, unsigned long address)
struct page *pte;
#ifdef CONFIG_HIGHPTE
- pte = alloc_pages(GFP_KERNEL|__GFP_HIGHMEM|__GFP_REPEAT|__GFP_ZERO, 0);
+ pte = alloc_page(GFP_KERNEL|__GFP_HIGHMEM|__GFP_REPEAT|__GFP_ZERO);
#else
- pte = alloc_pages(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO, 0);
+ pte = alloc_page(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO);
#endif
return pte;
}
--
Shani
WARNING: multiple messages have this Message-ID (diff)
From: Shani Moideen <shani.moideen@wipro.com>
To: linux-mm@kvack.org
Cc: linux-kernel@vger.kernel.org, kernel-janitors@lists.osdl.org
Subject: [KJ PATCH] Replacing alloc_pages(gfp,0) with alloc_page(gfp) in arch/i386/mm/pgtable.c.
Date: Wed, 09 May 2007 17:30:41 +0530 [thread overview]
Message-ID: <1178712041.2280.25.camel@shani-win> (raw)
Hi,
Replacing alloc_pages(gfp,0) with alloc_page(gfp) in
arch/i386/mm/pgtable.c.
Signed-off-by: Shani Moideen <shani.moideen@wipro.com>
----
diff --git a/arch/i386/mm/pgtable.c b/arch/i386/mm/pgtable.c
index fa0cfbd..5d2b0fb 100644
--- a/arch/i386/mm/pgtable.c
+++ b/arch/i386/mm/pgtable.c
@@ -191,9 +191,9 @@ struct page *pte_alloc_one(struct mm_struct *mm, unsigned long address)
struct page *pte;
#ifdef CONFIG_HIGHPTE
- pte = alloc_pages(GFP_KERNEL|__GFP_HIGHMEM|__GFP_REPEAT|__GFP_ZERO, 0);
+ pte = alloc_page(GFP_KERNEL|__GFP_HIGHMEM|__GFP_REPEAT|__GFP_ZERO);
#else
- pte = alloc_pages(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO, 0);
+ pte = alloc_page(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO);
#endif
return pte;
}
--
Shani
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next parent reply other threads:[~2007-05-09 12:12 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-09 12:00 Shani Moideen [this message]
2007-05-09 12:12 ` [KJ] [KJ PATCH] Replacing alloc_pages(gfp, Shani Moideen
2007-05-09 12:00 ` [KJ PATCH] Replacing alloc_pages(gfp,0) with alloc_page(gfp) in arch/i386/mm/pgtable.c Shani Moideen
-- strict thread matches above, loose matches on Subject: below --
2007-06-13 2:46 [KJ PATCH] Replacing alloc_pages(gfp,0) with alloc_page(gfp) in net/core/sock.c Shani Moideen
2007-06-13 2:58 ` [KJ] [KJ PATCH] Replacing alloc_pages(gfp, Shani Moideen
2007-06-13 2:42 [KJ PATCH] Replacing alloc_pages(gfp,0) with alloc_page(gfp) in net/core/pktgen.c Shani Moideen
2007-06-13 2:54 ` [KJ] [KJ PATCH] Replacing alloc_pages(gfp, Shani Moideen
2007-06-13 10:12 ` [KJ] [KJ PATCH] Replacing alloc_pages(gfp, 0) with alloc_page(gfp) in net/core/pktgen.c psr
2007-06-13 10:24 ` [KJ] [KJ PATCH] Replacing alloc_pages(gfp, psr
2007-06-13 13:14 ` [KJ] [KJ PATCH] Replacing alloc_pages(gfp, 0) with alloc_page(gfp) Robert P. J. Day
2007-06-13 13:14 ` [KJ] [KJ PATCH] Replacing alloc_pages(gfp, 0) with alloc_page(gfp) in net/core/pktgen.c Robert P. J. Day
2007-06-13 14:28 ` psr
2007-06-13 14:40 ` [KJ] [KJ PATCH] Replacing alloc_pages(gfp, psr
2007-06-13 2:37 [KJ PATCH] Replacing alloc_pages(gfp,0) with alloc_page(gfp) in net/core/skbuff.c Shani Moideen
2007-06-13 2:49 ` [KJ] [KJ PATCH] Replacing alloc_pages(gfp, Shani Moideen
2007-06-12 4:58 [KJ PATCH] Replacing alloc_pages(gfp,0) with alloc_page(gfp) in net/ipv6/ip6_output.c Shani Moideen
2007-06-12 5:10 ` [KJ] [KJ PATCH] Replacing alloc_pages(gfp, Shani Moideen
2007-06-12 3:58 [KJ PATCH] Replacing alloc_pages(gfp,0) with alloc_page(gfp) in net/ipv4/ip_output.c Shani Moideen
2007-06-12 4:10 ` [KJ] [KJ PATCH] Replacing alloc_pages(gfp, Shani Moideen
2007-05-09 11:57 [KJ PATCH] Replacing alloc_pages(gfp,0) with alloc_page(gfp) in arch/i386/mm/pageattr.c Shani Moideen
2007-05-09 12:09 ` [KJ] [KJ PATCH] Replacing alloc_pages(gfp, Shani Moideen
2007-05-09 11:57 ` [KJ PATCH] Replacing alloc_pages(gfp,0) with alloc_page(gfp) in arch/i386/mm/pageattr.c Shani Moideen
2007-05-10 14:02 ` [KJ] [KJ PATCH] Replacing alloc_pages(gfp, 0) with alloc_page(gfp) walter harms
2007-05-10 16:40 ` Robert P. J. Day
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1178712041.2280.25.camel@shani-win \
--to=shani.moideen@wipro.com \
--cc=kernel-janitors@lists.osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.