[-mm patch] kernel/lockdep.c: make 3 functions static



This patch makes three needlessly global functions static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

---

kernel/lockdep.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

--- linux-2.6.17-mm1-full/kernel/lockdep.c.old 2006-06-22 17:39:33.000000000 +0200
+++ linux-2.6.17-mm1-full/kernel/lockdep.c 2006-06-22 17:48:58.000000000 +0200
@@ -444,7 +444,7 @@
printk(" ");
}

-void print_lock_type_header(struct lock_type *type, int depth)
+static void print_lock_type_header(struct lock_type *type, int depth)
{
int bit;

@@ -516,7 +516,7 @@
printk(" } [%d]", nr);
}

-void print_lock_type(struct lock_type *type)
+static void print_lock_type(struct lock_type *type)
{
print_lock_type_header(type, 0);
if (!list_empty(&type->locks_after))
@@ -1177,7 +1177,7 @@
* To make lock name printouts unique, we calculate a unique
* type->name_version generation counter:
*/
-int count_matching_names(struct lock_type *new_type)
+static int count_matching_names(struct lock_type *new_type)
{
struct lock_type *type;
int count = 0;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • [git pull] core kernel updates for v2.6.29, #2
    ... swiotlb extensions to make it available to 32-bit ... lock debug: sit tight when we are already in a panic ... extern void unblock_signals; ... extern int force_iommu, no_iommu; ...
    (Linux-Kernel)
  • [git pull] core kernel updates for v2.6.29
    ... swiotlb extensions to make it available to 32-bit ... lock debug: sit tight when we are already in a panic ... extern void unblock_signals; ... extern int force_iommu, no_iommu; ...
    (Linux-Kernel)
  • [PATCH 3/6] lockdep: reduce the ifdeffery
    ... Move code around to get fewer but larger #ifdef sections. ... We put the lock dependency chains into a hash-table as well, ... +static int static_obj ...
    (Linux-Kernel)
  • [patch] PI-futex: -V2
    ... It's a "lock this chain" function call. ... +static int fastcall noinline __sched ... struct hrtimer_sleeper *timeout, ...
    (Linux-Kernel)
  • [PATCH v2] add man-page for pthread_mutexattr_setrobust_np()
    ... +the robustness of a mutex. ... +sets the robustness of the mutex attribute object referred to by ... +will stall if the owner dies while owning the lock. ... +static int open_existing_lock ...
    (Linux-Kernel)