Skip to contentSkip to conversation

+ drivers-video-acornfbc-use-__free_reserved_page-to-simplify-the-code.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Sep 18, 2013 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

Subject: + drivers-video-acornfbc-use-__free_reserved_page-to-simplify-the-code.patch added to -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Wed, 18 Sep 2013 14:07:08 -0700

The patch titled
Subject: drivers/video/acornfb.c: use __free_reserved_page() to simplify the code
has been added to the -mm tree. Its filename is
drivers-video-acornfbc-use-__free_reserved_page-to-simplify-the-code.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/drivers-video-acornfbc-use-__free_reserved_page-to-simplify-the-code.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/drivers-video-acornfbc-use-__free_reserved_page-to-simplify-the-code.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Xishi Qiu <[email protected]>
Subject: drivers/video/acornfb.c: use __free_reserved_page() to simplify the code

Use __free_reserved_page() to simplify the code in the others.

Cc Jean-Christophe Plagniol-Villard <[email protected]>
Cc Tomi Valkeinen <[email protected]>

---

 drivers/video/acornfb.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/video/acornfb.c renamed from drivers/video/acornfb.c~drivers-video-acornfbc-use-__free_reserved_page-to-simplify-the-code +1 -3
diff -puN drivers/video/acornfb.c~drivers-video-acornfbc-use-__free_reserved_page-to-simplify-the-code drivers/video/acornfb.c
@@ -949,9 +949,7 @@ free_unused_pages(unsigned int virtual_s
 		 * the page.
 		 */
 		page = virt_to_page(virtual_start);
-		ClearPageReserved(page);
-		init_page_count(page);
-		free_page(virtual_start);
+		__free_reserved_page(page);
 
 		virtual_start += PAGE_SIZE;
 		mb_freed += PAGE_SIZE / 1024;

_

Patches currently in -mm which might be from [email protected] are

mm-arch-use-__free_reserved_page-to-simplify-the-code.patch drivers-video-acornfbc-use-__free_reserved_page-to-simplify-the-code.patch documentation-dma-attributestxt-fix-typo.patch