linux-sg2042/arch/arm64/mm
Mark Rutland 883d50a0ed arm64: simplify pgd_alloc
Currently pgd_alloc has a redundant NULL check in its return path that
can be removed with no ill effects. With that removed it's also possible
to return early and eliminate the new_pgd temporary variable.

This patch applies said modifications, making the logic of pgd_alloc
correspond 1-1 with that of pgd_free.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2014-02-05 10:45:07 +00:00
..
Makefile ARM64: mm: HugeTLB support. 2013-06-14 09:52:40 +01:00
cache.S arm64: mm: fix the function name in comment of __flush_dcache_area 2014-01-22 16:24:19 +00:00
context.c arm64: Process management 2012-09-17 13:41:58 +01:00
copypage.c arm64: MMU fault handling and page table management 2012-09-17 13:41:57 +01:00
dma-mapping.c arm64: Align CMA sizes to PAGE_SIZE 2014-02-05 10:28:27 +00:00
extable.c arm64: MMU fault handling and page table management 2012-09-17 13:41:57 +01:00
fault.c arm64: Make do_bad_area() function static 2013-09-20 09:56:05 +01:00
flush.c arm64: Remove __flush_dcache_page() 2013-06-07 17:58:30 +01:00
hugetlbpage.c mm: migrate: check movability of hugepage in unmap_and_move_huge_page() 2013-09-11 15:57:49 -07:00
init.c arm64: Enable CMA 2013-12-19 17:44:09 +00:00
ioremap.c arm64: allow ioremap_cache() to use existing RAM mappings 2013-10-30 12:10:37 +00:00
mm.h arm64: Remove __flush_dcache_page() 2013-06-07 17:58:30 +01:00
mmap.c mm: remove free_area_cache 2013-07-10 18:11:34 -07:00
mmu.c arm64: Invalidate the TLB when replacing pmd entries during boot 2014-02-05 10:30:51 +00:00
pgd.c arm64: simplify pgd_alloc 2014-02-05 10:45:07 +00:00
proc-macros.S arm64: mm: use ubfm for dcache_line_size 2014-01-22 16:23:58 +00:00
proc.S arm64: mm: fix the function name in comment of cpu_do_switch_mm 2014-01-27 15:50:38 +00:00
tlb.S arm64: use correct register width when retrieving ASID 2013-09-25 16:42:23 +01:00