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 <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
..
perf metag: delete __cpuinit usage from all metag files 2013-07-14 19:36:54 -04:00
.gitignore
Makefile
asm-offsets.c
cachepart.c metag: panic if cache aliasing possible 2013-06-27 13:49:48 +01:00
clock.c metag: log core and timer frequencies from arch code 2013-06-13 12:55:27 +01:00
core_reg.c
da.c metag: export _metag_da_present and cpu_2_hwthread_id 2013-03-27 14:37:52 +00:00
devtree.c metag: use common of_flat_dt_match_machine 2013-10-09 20:03:57 -05:00
dma.c mm/arch: use __free_reserved_page() to simplify the code 2013-11-13 12:09:03 +09:00
ftrace.c
ftrace_stub.S
head.S metag: smp: copy cache partition and enable GCOn 2013-03-15 13:21:17 +00:00
irq.c irq: Consolidate do_softirq() arch overriden implementations 2013-10-01 12:53:25 +02:00
kick.c metag: kick: add missing irq_enter/exit to kick_handler() 2013-07-02 14:12:08 +01:00
machines.c
metag_ksyms.c metag: move EXPORT_SYMBOL(csum_partial) to metag_ksyms.c 2013-07-04 10:00:02 +01:00
module.c
perf_callchain.c
process.c dump_stack: unify debug information printed by show_regs() 2013-04-30 17:04:02 -07:00
ptrace.c metag: ptrace: Implement NT_METAG_TLS 2013-03-27 14:37:47 +00:00
setup.c DeviceTree updates for 3.13. This is a bit larger pull request than 2013-11-12 16:52:17 +09:00
signal.c
smp.c metag: delete __cpuinit usage from all metag files 2013-07-14 19:36:54 -04:00
stacktrace.c
sys_metag.c
tbiunexp.S
tcm.c
time.c metag: init common clk and use "core" clk 2013-06-13 12:54:41 +01:00
topology.c
traps.c metag: handle low level kicks directly 2013-11-06 10:40:02 +00:00
user_gateway.S
vmlinux.lds.S