[PATCH 8/9] ps3: cleanup ps3fb before clearing HPTE

From
Geert Uytterhoeven <hidden>
Date
2007-01-25 17:51:52
Also in
linuxppc-dev
Reply to
Geert Uytterhoeven, 2007-01-25
PS3: Cleanup the frame buffer device before clearing the HPTE mapping

Signed-off-by: Geert Uytterhoeven <redacted>
---
 arch/powerpc/platforms/ps3/htab.c |    5 +++++
 1 files changed, 5 insertions(+)
--- ps3-linux.orig/arch/powerpc/platforms/ps3/htab.c
+++ ps3-linux/arch/powerpc/platforms/ps3/htab.c
@@ -234,6 +234,11 @@ static void ps3_hpte_invalidate(unsigned
 
 static void ps3_hpte_clear(void)
 {
+	extern void ps3fb_cleanup(void);
+
+#ifdef CONFIG_FB_PS3
+	ps3fb_cleanup();
+#endif
 	lv1_unmap_htab(htab_addr);
 }
 
Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- Sony Network and Software Technology Center Europe (NSCE)
Geert.Uytterhoeven@sonycom.com ------- The Corporate Village, Da Vincilaan 7-D1
Voice +32-2-7008453 Fax +32-2-7008622 ---------------- B-1935 Zaventem, Belgium

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Thread (34 messages) 34 messages, 8 authors, 2007-01-31
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help