x86/platform/uv/BAU: Add wait_completion to bau_operations
authorAndrew Banman <abanman@hpe.com>
Thu, 9 Mar 2017 16:42:13 +0000 (10:42 -0600)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 13 Mar 2017 13:26:29 +0000 (14:26 +0100)
commit2620bbbf1f4f187952fb35861f4473860c432728
tree20904a6cc388f54a0d79f3cd174269a6d6d64f2a
parentdfeb28f068ff9cc4f714c7d1edaf61597ea1768b
x86/platform/uv/BAU: Add wait_completion to bau_operations

Remove the present wait_completion routine and add a function pointer by
the same name to the bau_operations struct. Rather than switching on the
UV hub version during message processing, set the architecture-specific
uv*_wait_completion during initialization.

The uv123_bau_ops struct must be split into uv1 and uv2_3 versions to
accommodate the corresponding wait_completion routines.

Signed-off-by: Andrew Banman <abanman@hpe.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Mike Travis <mike.travis@hpe.com>
Cc: sivanich@hpe.com
Cc: rja@hpe.com
Cc: akpm@linux-foundation.org
Link: http://lkml.kernel.org/r/1489077734-111753-6-git-send-email-abanman@hpe.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/include/asm/uv/uv_bau.h
arch/x86/platform/uv/tlb_uv.c