locking: Fix dangling references to nonexistent files
Subsystems (3)
PATCH 1/1 locking: Fix dangling references to nonexistent files
Commit e25a64c4017e (and others in the same series) moved the locking code to kernel/locking/. This patch just updates various docs and comments (things like "see kernel/semaphore.c for documentation") to refer to the new locations.
Signed-off-by Jason Wilkes <[email protected]>
--- Documentation/locking/lockdep-design.txt | 2 +- include/linux/lockdep.h | 2 +- include/linux/rwlock_api_smp.h | 2 +- include/linux/semaphore.h | 2 +- include/linux/spinlock_api_smp.h | 2 +- kernel/locking/lockdep.c | 2 +- kernel/locking/lockdep_internals.h | 2 +- kernel/locking/lockdep_proc.c | 2 +- kernel/locking/mutex-debug.c | 2 +- kernel/locking/mutex-debug.h | 2 +- kernel/locking/rwsem-xadd.c | 3 +-- kernel/locking/rwsem.c | 3 +-- tools/perf/builtin-lock.c | 2 +- 13 files changed, 13 insertions(+), 15 deletions(-)
Documentation/locking/lockdep-design.txt +1 -1
@@ -34,7 +34,7 @@ The validator tracks lock-class usage history into 4n + 1 separate state bits: - 'ever held with STATE enabled' - 'ever held as readlock with STATE enabled' -Where STATE can be either one of (kernel/lockdep_states.h) +Where STATE can be either one of (kernel/locking/lockdep_states.h) - hardirq - softirq - reclaim_fs
include/linux/lockdep.h +1 -1
@@ -24,7 +24,7 @@ extern int lock_stat;#include <linux/stacktrace.h> /* -* We'd rather not expose kernel/lockdep_states.h this wide, but we do need +* We'd rather not expose kernel/locking/lockdep_states.h this wide, but we do need * the total number of states... :-( */ #define XXX_LOCK_USAGE_STATES (1+3*4)
include/linux/rwlock_api_smp.h +1 -1
@@ -9,7 +9,7 @@* include/linux/rwlock_api_smp.h * * spinlock API declarations on SMP (and debug) -* (implemented in kernel/spinlock.c) +* (implemented in kernel/locking/spinlock.c) * * portions Copyright 2005, Red Hat, Inc., Ingo Molnar * Released under the General Public License (GPL).
include/linux/semaphore.h +1 -1
@@ -4,7 +4,7 @@* * Distributed under the terms of the GNU GPL, version 2 * -* Please see kernel/semaphore.c for documentation of these functions +* Please see kernel/locking/semaphore.c for documentation of these functions */ #ifndef __LINUX_SEMAPHORE_H#define __LINUX_SEMAPHORE_H
include/linux/spinlock_api_smp.h +1 -1
@@ -9,7 +9,7 @@* include/linux/spinlock_api_smp.h * * spinlock API declarations on SMP (and debug) -* (implemented in kernel/spinlock.c) +* (implemented in kernel/locking/spinlock.c) * * portions Copyright 2005, Red Hat, Inc., Ingo Molnar * Released under the General Public License (GPL).
kernel/locking/lockdep.c +1 -1
@@ -1,5 +1,5 @@/* -* kernel/lockdep.c +* kernel/locking/lockdep.c * * Runtime locking correctness validator *
kernel/locking/lockdep_internals.h +1 -1
@@ -1,5 +1,5 @@/* -* kernel/lockdep_internals.h +* kernel/locking/lockdep_internals.h * * Runtime locking correctness validator *
kernel/locking/lockdep_proc.c +1 -1
@@ -1,5 +1,5 @@/* -* kernel/lockdep_proc.c +* kernel/locking/lockdep_proc.c * * Runtime locking correctness validator *
kernel/locking/mutex-debug.c +1 -1
@@ -1,5 +1,5 @@/* -* kernel/mutex-debug.c +* kernel/locking/mutex-debug.c * * Debugging code for mutexes *
kernel/locking/mutex-debug.h +1 -1
@@ -7,7 +7,7 @@* * This file contains mutex debugging related internal declarations, * prototypes and inline functions, for the CONFIG_DEBUG_MUTEXES case. -* More details are in kernel/mutex-debug.c. +* More details are in kernel/locking/mutex-debug.c. */ /*
kernel/locking/rwsem-xadd.c +1 -2
@@ -1,7 +1,6 @@ -/* rwsem.c: R/W semaphores: contention handling functions +/* rwsem-xadd.c: R/W semaphores: contention handling functions * * Written by David Howells ([email protected]). -* Derived from arch/i386/kernel/semaphore.c * * Writer lock-stealing by Alex Shi <[email protected]> * and Michel Lespinasse <[email protected]>
kernel/locking/rwsem.c +1 -2
@@ -1,7 +1,6 @@ -/* kernel/rwsem.c: R/W semaphores, public implementation +/* kernel/locking/rwsem.c: R/W semaphores, public implementation * * Written by David Howells ([email protected]). -* Derived from asm-i386/semaphore.h */ #include <linux/types.h>
tools/perf/builtin-lock.c +1 -1
@@ -29,7 +29,7 @@static struct perf_session *session; -/* based on kernel/lockdep.c */ +/* based on kernel/locking/lockdep.c */ #define LOCKHASH_BITS 12#define LOCKHASH_SIZE (1UL << LOCKHASH_BITS)
Signature · 1 line
2.1.3