Files
linux/arch/metag/kernel
Xishi Qiu c1ce4b375f mm/arch: use __free_reserved_page() to simplify the code
Use __free_reserved_page() to simplify the code in arch.

It used split_page() in consistent_alloc()/__dma_alloc_coherent()/dma_alloc_coherent(),
so page->_count == 1, and we can free it safely.

__free_reserved_page()
	ClearPageReserved()
	init_page_count()  // it won't change the value
	__free_page()

Signed-off-by: Xishi Qiu <[email protected]>
Cc: James Hogan <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Paul Mackerras <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2013-11-13 12:09:03 +09:00
..
2013-03-02 20:09:54 +00:00
2013-03-02 20:09:54 +00:00
2013-03-02 20:09:51 +00:00
2013-03-02 20:09:55 +00:00
2013-03-02 20:09:55 +00:00
2013-03-02 20:09:49 +00:00
2013-03-02 20:09:54 +00:00
2013-03-27 14:37:47 +00:00
…
2013-03-02 20:09:52 +00:00
2013-03-02 20:09:49 +00:00
2013-03-02 20:09:45 +00:00
…
2013-03-02 20:09:51 +00:00
2013-11-06 10:40:02 +00:00
2013-03-02 20:09:49 +00:00
2013-03-02 20:09:54 +00:00