c3ac598c7f
The intention of hardware spinlock is to allow two processors, that have no alternative mechanism for accomplish synchronization and mutual exclusion operations, to share resources (such as memory and/or any other element). Here, we add the hwspinlock framework, that makes possible to use those hwspinlock devices and stay platform-independent. Each platform wishing to support hardware spinlock must describe a driver using this framework. Signed-off-by: Aziz Idomar <aidomar@sequans.com>
20 lines
398 B
Plaintext
20 lines
398 B
Plaintext
# HW spinlock configuration options
|
|
|
|
# Copyright (c) 2023 Sequans Communications.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
menuconfig HWSPINLOCK
|
|
bool "HW spinlock Support"
|
|
help
|
|
Include support for HW spinlock.
|
|
|
|
if HWSPINLOCK
|
|
|
|
config HWSPINLOCK_INIT_PRIORITY
|
|
int "HW spinlock init priority"
|
|
default KERNEL_INIT_PRIORITY_DEVICE
|
|
help
|
|
HW spinlock driver device initialization priority.
|
|
|
|
endif
|