kernel-ark/arch/microblaze
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 <qiuxishi@huawei.com>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-11-13 12:09:03 +09:00
..
boot microblaze: Remove incorrect file path 2013-11-08 15:23:55 +01:00
configs microblaze: Enable KGDB in defconfig 2013-06-26 11:36:55 +02:00
include DeviceTree updates for 3.13. This is a bit larger pull request than 2013-11-12 16:52:17 +09:00
kernel DeviceTree updates for 3.13. This is a bit larger pull request than 2013-11-12 16:52:17 +09:00
lib microblaze: Do not use module.h in files which are not modules 2013-02-12 11:24:45 +01:00
mm mm/arch: use __free_reserved_page() to simplify the code 2013-11-13 12:09:03 +09:00
oprofile microblaze: Core oprofile configs and hooks 2009-12-14 08:45:07 +01:00
pci Merge remote-tracking branch 'grant/devicetree/next' into for-next 2013-11-07 10:34:46 -06:00
platform microblaze: Remove selfmodified feature 2013-09-03 11:13:46 +02:00
Kconfig microblaze: Calculate kernel pad automatically 2013-11-07 09:22:40 +01:00
Kconfig.debug microblaze: remove obsolete DEBUG_BOOTMEM 2011-01-10 09:29:51 +01:00
Makefile microblaze: Add linux.bin.ub target 2013-09-03 16:31:17 +02:00