Kconfig: move ARCH_HAS_OPTIMIZED_POLL to arch/Kconfig
ARCH_HAS_OPTIMIZED_POLL gates selection of polling while idle in
poll_idle(). Move the configuration option to arch/Kconfig to allow
non-x86 architectures to select it.
Note that ARCH_HAS_OPTIMIZED_POLL should probably be exclusive with
GENERIC_IDLE_POLL_SETUP (which controls the generic polling logic in
cpu_idle_poll()). However, that would remove boot options
(hlt=, nohlt=). So, leave it untouched for now.
Signed-off-by: Joao Martins <joao.m.martins@oracle.com> Signed-off-by: Mihai Carabas <mihai.carabas@oracle.com> Signed-off-by: Ankur Arora <ankur.a.arora@oracle.com> Acked-by: Will Deacon <will@kernel.org> Tested-by: Haris Okanovic <harisokn@amazon.com> Tested-by: Misono Tomohiro <misono.tomohiro@fujitsu.com>