sparc64: Fix build error in flush_tsb_user_page
authorNitin Gupta <nitin.m.gupta@oracle.com>
Fri, 24 Feb 2017 11:03:16 +0000 (03:03 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Feb 2017 16:26:21 +0000 (08:26 -0800)
commitac65e2828d03ddf84e9fe1fb6d110d8de933dc22
tree3e593687634e118c46cbd1beb684277b79201faf
parentcd429ce2d095041d249ec85feaed608bbf72154f
sparc64: Fix build error in flush_tsb_user_page

Patch "sparc64: Add 64K page size support"
unconditionally used __flush_huge_tsb_one_entry()
which is available only when hugetlb support is
enabled.

Another issue was incorrect TSB flushing for 64K
pages in flush_tsb_user().

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