sparc64: Cleanup hugepage table walk functions
authorNitin Gupta <nitin.m.gupta@oracle.com>
Sat, 29 Jul 2017 18:42:19 +0000 (11:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Aug 2017 05:12:20 +0000 (22:12 -0700)
commit763797847460a9659a6dfa79b354f3b58e68d523
tree5dba5ae98cf31a08c1b4c8fc6f3803cf4f0d0c50
parentf10bb00790dd3cf550f7ae6991c4d1a128802c00
sparc64: Cleanup hugepage table walk functions

Flatten out nested code structure in huge_pte_offset()
and huge_pte_alloc().

Signed-off-by: Nitin Gupta <nitin.m.gupta@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/mm/hugetlbpage.c