aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/semaphore.h3
-rw-r--r--kernel/locking/semaphore.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/include/linux/semaphore.h b/include/linux/semaphore.h
index 11c86fbfeb98..6694d0019a68 100644
--- a/include/linux/semaphore.h
+++ b/include/linux/semaphore.h
@@ -1,9 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright (c) 2008 Intel Corporation 3 * Copyright (c) 2008 Intel Corporation
3 * Author: Matthew Wilcox <willy@linux.intel.com> 4 * Author: Matthew Wilcox <willy@linux.intel.com>
4 * 5 *
5 * Distributed under the terms of the GNU GPL, version 2
6 *
7 * Please see kernel/locking/semaphore.c for documentation of these functions 6 * Please see kernel/locking/semaphore.c for documentation of these functions
8 */ 7 */
9#ifndef __LINUX_SEMAPHORE_H 8#ifndef __LINUX_SEMAPHORE_H
diff --git a/kernel/locking/semaphore.c b/kernel/locking/semaphore.c
index 561acdd39960..d9dd94defc0a 100644
--- a/kernel/locking/semaphore.c
+++ b/kernel/locking/semaphore.c
@@ -1,9 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (c) 2008 Intel Corporation 3 * Copyright (c) 2008 Intel Corporation
3 * Author: Matthew Wilcox <willy@linux.intel.com> 4 * Author: Matthew Wilcox <willy@linux.intel.com>
4 * 5 *
5 * Distributed under the terms of the GNU GPL, version 2
6 *
7 * This file implements counting semaphores. 6 * This file implements counting semaphores.
8 * A counting semaphore may be acquired 'n' times before sleeping. 7 * A counting semaphore may be acquired 'n' times before sleeping.
9 * See mutex.c for single-acquisition sleeping locks which enforce 8 * See mutex.c for single-acquisition sleeping locks which enforce