projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1edf80d
)
[PATCH] memmap_init_zone(): remove uneccesary page++
author
Greg Ungerer
<gerg@snapgear.com>
Thu, 12 Jan 2006 09:05:24 +0000
(
01:05
-0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Thu, 12 Jan 2006 17:08:49 +0000
(09:08 -0800)
Remove unecessary page++ from memmap_init_zone loop.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/page_alloc.c
patch
|
blob
|
blame
|
history
diff --git
a/mm/page_alloc.c
b/mm/page_alloc.c
index d41a0662d4da6abbc596cdbbce461d6af92c7688..8c960b469593a9a6818fa4dd9c08a4b591916c86 100644
(file)
--- a/
mm/page_alloc.c
+++ b/
mm/page_alloc.c
@@
-1742,7
+1742,7
@@
void __devinit memmap_init_zone(unsigned long size, int nid, unsigned long zone,
unsigned long end_pfn = start_pfn + size;
unsigned long pfn;
- for (pfn = start_pfn; pfn < end_pfn; pfn++
, page++
) {
+ for (pfn = start_pfn; pfn < end_pfn; pfn++) {
if (!early_pfn_valid(pfn))
continue;
page = pfn_to_page(pfn);