diff options
Diffstat (limited to 'kernel/locking')
| -rw-r--r-- | kernel/locking/Makefile | 1 | ||||
| -rw-r--r-- | kernel/locking/lockdep_internals.h | 1 | ||||
| -rw-r--r-- | kernel/locking/lockdep_proc.c | 1 | ||||
| -rw-r--r-- | kernel/locking/mcs_spinlock.h | 1 | ||||
| -rw-r--r-- | kernel/locking/mutex-debug.h | 1 | ||||
| -rw-r--r-- | kernel/locking/mutex.h | 1 | ||||
| -rw-r--r-- | kernel/locking/osq_lock.c | 1 | ||||
| -rw-r--r-- | kernel/locking/qspinlock_paravirt.h | 1 | ||||
| -rw-r--r-- | kernel/locking/rtmutex-debug.c | 1 | ||||
| -rw-r--r-- | kernel/locking/rtmutex-debug.h | 1 | ||||
| -rw-r--r-- | kernel/locking/rtmutex.h | 1 | ||||
| -rw-r--r-- | kernel/locking/rtmutex_common.h | 1 | ||||
| -rw-r--r-- | kernel/locking/rwsem-spinlock.c | 1 | ||||
| -rw-r--r-- | kernel/locking/rwsem-xadd.c | 1 | ||||
| -rw-r--r-- | kernel/locking/rwsem.c | 1 | ||||
| -rw-r--r-- | kernel/locking/rwsem.h | 1 | ||||
| -rw-r--r-- | kernel/locking/spinlock.c | 1 |
17 files changed, 17 insertions, 0 deletions
diff --git a/kernel/locking/Makefile b/kernel/locking/Makefile index 760158d9d98d..392c7f23af76 100644 --- a/kernel/locking/Makefile +++ b/kernel/locking/Makefile | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0 | ||
| 1 | # Any varying coverage in these files is non-deterministic | 2 | # Any varying coverage in these files is non-deterministic |
| 2 | # and is generally not a function of system call inputs. | 3 | # and is generally not a function of system call inputs. |
| 3 | KCOV_INSTRUMENT := n | 4 | KCOV_INSTRUMENT := n |
diff --git a/kernel/locking/lockdep_internals.h b/kernel/locking/lockdep_internals.h index 1da4669d57a7..d459d624ba2a 100644 --- a/kernel/locking/lockdep_internals.h +++ b/kernel/locking/lockdep_internals.h | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 */ | ||
| 1 | /* | 2 | /* |
| 2 | * kernel/lockdep_internals.h | 3 | * kernel/lockdep_internals.h |
| 3 | * | 4 | * |
diff --git a/kernel/locking/lockdep_proc.c b/kernel/locking/lockdep_proc.c index 68d9e267ccd4..ad69bbc9bd28 100644 --- a/kernel/locking/lockdep_proc.c +++ b/kernel/locking/lockdep_proc.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0 | ||
| 1 | /* | 2 | /* |
| 2 | * kernel/lockdep_proc.c | 3 | * kernel/lockdep_proc.c |
| 3 | * | 4 | * |
diff --git a/kernel/locking/mcs_spinlock.h b/kernel/locking/mcs_spinlock.h index 6a385aabcce7..f046b7ce9dd6 100644 --- a/kernel/locking/mcs_spinlock.h +++ b/kernel/locking/mcs_spinlock.h | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 */ | ||
| 1 | /* | 2 | /* |
| 2 | * MCS lock defines | 3 | * MCS lock defines |
| 3 | * | 4 | * |
diff --git a/kernel/locking/mutex-debug.h b/kernel/locking/mutex-debug.h index 4174417d5309..1edd3f45a4ec 100644 --- a/kernel/locking/mutex-debug.h +++ b/kernel/locking/mutex-debug.h | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 */ | ||
| 1 | /* | 2 | /* |
| 2 | * Mutexes: blocking mutual exclusion locks | 3 | * Mutexes: blocking mutual exclusion locks |
| 3 | * | 4 | * |
diff --git a/kernel/locking/mutex.h b/kernel/locking/mutex.h index 6ebc1902f779..1c2287d3fa71 100644 --- a/kernel/locking/mutex.h +++ b/kernel/locking/mutex.h | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 */ | ||
| 1 | /* | 2 | /* |
| 2 | * Mutexes: blocking mutual exclusion locks | 3 | * Mutexes: blocking mutual exclusion locks |
| 3 | * | 4 | * |
diff --git a/kernel/locking/osq_lock.c b/kernel/locking/osq_lock.c index a74ee6abd039..6ef600aa0f47 100644 --- a/kernel/locking/osq_lock.c +++ b/kernel/locking/osq_lock.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0 | ||
| 1 | #include <linux/percpu.h> | 2 | #include <linux/percpu.h> |
| 2 | #include <linux/sched.h> | 3 | #include <linux/sched.h> |
| 3 | #include <linux/osq_lock.h> | 4 | #include <linux/osq_lock.h> |
diff --git a/kernel/locking/qspinlock_paravirt.h b/kernel/locking/qspinlock_paravirt.h index 43555681c40b..15b6a39366c6 100644 --- a/kernel/locking/qspinlock_paravirt.h +++ b/kernel/locking/qspinlock_paravirt.h | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 */ | ||
| 1 | #ifndef _GEN_PV_LOCK_SLOWPATH | 2 | #ifndef _GEN_PV_LOCK_SLOWPATH |
| 2 | #error "do not include this file" | 3 | #error "do not include this file" |
| 3 | #endif | 4 | #endif |
diff --git a/kernel/locking/rtmutex-debug.c b/kernel/locking/rtmutex-debug.c index f4a74e78d467..fd4fe1f5b458 100644 --- a/kernel/locking/rtmutex-debug.c +++ b/kernel/locking/rtmutex-debug.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0 | ||
| 1 | /* | 2 | /* |
| 2 | * RT-Mutexes: blocking mutual exclusion locks with PI support | 3 | * RT-Mutexes: blocking mutual exclusion locks with PI support |
| 3 | * | 4 | * |
diff --git a/kernel/locking/rtmutex-debug.h b/kernel/locking/rtmutex-debug.h index 5078c6ddf4a5..fc549713bba3 100644 --- a/kernel/locking/rtmutex-debug.h +++ b/kernel/locking/rtmutex-debug.h | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 */ | ||
| 1 | /* | 2 | /* |
| 2 | * RT-Mutexes: blocking mutual exclusion locks with PI support | 3 | * RT-Mutexes: blocking mutual exclusion locks with PI support |
| 3 | * | 4 | * |
diff --git a/kernel/locking/rtmutex.h b/kernel/locking/rtmutex.h index 5c253caffe91..732f96abf462 100644 --- a/kernel/locking/rtmutex.h +++ b/kernel/locking/rtmutex.h | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 */ | ||
| 1 | /* | 2 | /* |
| 2 | * RT-Mutexes: blocking mutual exclusion locks with PI support | 3 | * RT-Mutexes: blocking mutual exclusion locks with PI support |
| 3 | * | 4 | * |
diff --git a/kernel/locking/rtmutex_common.h b/kernel/locking/rtmutex_common.h index 7453be0485a5..124e98ca0b17 100644 --- a/kernel/locking/rtmutex_common.h +++ b/kernel/locking/rtmutex_common.h | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 */ | ||
| 1 | /* | 2 | /* |
| 2 | * RT Mutexes: blocking mutual exclusion locks with PI support | 3 | * RT Mutexes: blocking mutual exclusion locks with PI support |
| 3 | * | 4 | * |
diff --git a/kernel/locking/rwsem-spinlock.c b/kernel/locking/rwsem-spinlock.c index 0848634c5512..a7ffb2a96ede 100644 --- a/kernel/locking/rwsem-spinlock.c +++ b/kernel/locking/rwsem-spinlock.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0 | ||
| 1 | /* rwsem-spinlock.c: R/W semaphores: contention handling functions for | 2 | /* rwsem-spinlock.c: R/W semaphores: contention handling functions for |
| 2 | * generic spinlock implementation | 3 | * generic spinlock implementation |
| 3 | * | 4 | * |
diff --git a/kernel/locking/rwsem-xadd.c b/kernel/locking/rwsem-xadd.c index 1fefe6dcafd7..e795908f3607 100644 --- a/kernel/locking/rwsem-xadd.c +++ b/kernel/locking/rwsem-xadd.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0 | ||
| 1 | /* rwsem.c: R/W semaphores: contention handling functions | 2 | /* rwsem.c: R/W semaphores: contention handling functions |
| 2 | * | 3 | * |
| 3 | * Written by David Howells (dhowells@redhat.com). | 4 | * Written by David Howells (dhowells@redhat.com). |
diff --git a/kernel/locking/rwsem.c b/kernel/locking/rwsem.c index 4d48b1c4870d..a6c76a4832b4 100644 --- a/kernel/locking/rwsem.c +++ b/kernel/locking/rwsem.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0 | ||
| 1 | /* kernel/rwsem.c: R/W semaphores, public implementation | 2 | /* kernel/rwsem.c: R/W semaphores, public implementation |
| 2 | * | 3 | * |
| 3 | * Written by David Howells (dhowells@redhat.com). | 4 | * Written by David Howells (dhowells@redhat.com). |
diff --git a/kernel/locking/rwsem.h b/kernel/locking/rwsem.h index a699f4048ba1..a883b8f1fdc6 100644 --- a/kernel/locking/rwsem.h +++ b/kernel/locking/rwsem.h | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0 */ | ||
| 1 | /* | 2 | /* |
| 2 | * The owner field of the rw_semaphore structure will be set to | 3 | * The owner field of the rw_semaphore structure will be set to |
| 3 | * RWSEM_READ_OWNED when a reader grabs the lock. A writer will clear | 4 | * RWSEM_READ_OWNED when a reader grabs the lock. A writer will clear |
diff --git a/kernel/locking/spinlock.c b/kernel/locking/spinlock.c index 4b082b5cac9e..6e40fdfba326 100644 --- a/kernel/locking/spinlock.c +++ b/kernel/locking/spinlock.c | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0 | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (2004) Linus Torvalds | 3 | * Copyright (2004) Linus Torvalds |
| 3 | * | 4 | * |
