Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100503
b: refs/heads/master
c: 1d09daa
h: refs/heads/master
i:
  100501: 6c2933d
  100499: 74d3c6b
  100495: 4e24099
v: v3
  • Loading branch information
Steven Rostedt authored and Thomas Gleixner committed May 23, 2008
1 parent a808e22 commit aabed41
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9d0a420b737f72d84fabebf29634d800cbf54538
refs/heads/master: 1d09daa55d2e9bab7e7d30f0d05e5a7bc60b2a4a
8 changes: 8 additions & 0 deletions trunk/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ obj-y = sched.o fork.o exec_domain.o panic.o printk.o profile.o \
hrtimer.o rwsem.o nsproxy.o srcu.o semaphore.o \
notifier.o ksysfs.o pm_qos_params.o sched_clock.o

ifdef CONFIG_FTRACE
# Do not profile debug utilities
ORIG_CFLAGS := $(KBUILD_CFLAGS)
KBUILD_CFLAGS = $(if $(filter-out lockdep% %debug,$(basename $(notdir $@))), \
$(ORIG_CFLAGS), \
$(subst -pg,,$(ORIG_CFLAGS)))
endif

obj-$(CONFIG_SYSCTL_SYSCALL_CHECK) += sysctl_check.o
obj-$(CONFIG_STACKTRACE) += stacktrace.o
obj-y += time/
Expand Down
26 changes: 13 additions & 13 deletions trunk/kernel/lockdep.c
Original file line number Diff line number Diff line change
Expand Up @@ -271,14 +271,14 @@ static struct list_head chainhash_table[CHAINHASH_SIZE];
((key1) >> (64-MAX_LOCKDEP_KEYS_BITS)) ^ \
(key2))

notrace void lockdep_off(void)
void lockdep_off(void)
{
current->lockdep_recursion++;
}

EXPORT_SYMBOL(lockdep_off);

notrace void lockdep_on(void)
void lockdep_on(void)
{
current->lockdep_recursion--;
}
Expand Down Expand Up @@ -1041,7 +1041,7 @@ find_usage_forwards(struct lock_class *source, unsigned int depth)
* Return 1 otherwise and keep <backwards_match> unchanged.
* Return 0 on error.
*/
static noinline notrace int
static noinline int
find_usage_backwards(struct lock_class *source, unsigned int depth)
{
struct lock_list *entry;
Expand Down Expand Up @@ -1591,7 +1591,7 @@ static inline int validate_chain(struct task_struct *curr,
* We are building curr_chain_key incrementally, so double-check
* it from scratch, to make sure that it's done correctly:
*/
static notrace void check_chain_key(struct task_struct *curr)
static void check_chain_key(struct task_struct *curr)
{
#ifdef CONFIG_DEBUG_LOCKDEP
struct held_lock *hlock, *prev_hlock = NULL;
Expand Down Expand Up @@ -1967,7 +1967,7 @@ static int mark_lock_irq(struct task_struct *curr, struct held_lock *this,
/*
* Mark all held locks with a usage bit:
*/
static notrace int
static int
mark_held_locks(struct task_struct *curr, int hardirq)
{
enum lock_usage_bit usage_bit;
Expand Down Expand Up @@ -2014,7 +2014,7 @@ void early_boot_irqs_on(void)
/*
* Hardirqs will be enabled:
*/
void notrace trace_hardirqs_on_caller(unsigned long a0)
void trace_hardirqs_on_caller(unsigned long a0)
{
struct task_struct *curr = current;
unsigned long ip;
Expand Down Expand Up @@ -2060,7 +2060,7 @@ void notrace trace_hardirqs_on_caller(unsigned long a0)
}
EXPORT_SYMBOL(trace_hardirqs_on_caller);

void notrace trace_hardirqs_on(void)
void trace_hardirqs_on(void)
{
trace_hardirqs_on_caller(CALLER_ADDR0);
}
Expand All @@ -2069,7 +2069,7 @@ EXPORT_SYMBOL(trace_hardirqs_on);
/*
* Hardirqs were disabled:
*/
void notrace trace_hardirqs_off_caller(unsigned long a0)
void trace_hardirqs_off_caller(unsigned long a0)
{
struct task_struct *curr = current;

Expand All @@ -2094,7 +2094,7 @@ void notrace trace_hardirqs_off_caller(unsigned long a0)
}
EXPORT_SYMBOL(trace_hardirqs_off_caller);

void notrace trace_hardirqs_off(void)
void trace_hardirqs_off(void)
{
trace_hardirqs_off_caller(CALLER_ADDR0);
}
Expand Down Expand Up @@ -2260,7 +2260,7 @@ static inline int separate_irq_context(struct task_struct *curr,
/*
* Mark a lock with a usage bit, and validate the state transition:
*/
static notrace int mark_lock(struct task_struct *curr, struct held_lock *this,
static int mark_lock(struct task_struct *curr, struct held_lock *this,
enum lock_usage_bit new_bit)
{
unsigned int new_mask = 1 << new_bit, ret = 1;
Expand Down Expand Up @@ -2663,7 +2663,7 @@ __lock_release(struct lockdep_map *lock, int nested, unsigned long ip)
/*
* Check whether we follow the irq-flags state precisely:
*/
static notrace void check_flags(unsigned long flags)
static void check_flags(unsigned long flags)
{
#if defined(CONFIG_DEBUG_LOCKDEP) && defined(CONFIG_TRACE_IRQFLAGS)
if (!debug_locks)
Expand Down Expand Up @@ -2700,7 +2700,7 @@ static notrace void check_flags(unsigned long flags)
* We are not always called with irqs disabled - do that here,
* and also avoid lockdep recursion:
*/
notrace void lock_acquire(struct lockdep_map *lock, unsigned int subclass,
void lock_acquire(struct lockdep_map *lock, unsigned int subclass,
int trylock, int read, int check, unsigned long ip)
{
unsigned long flags;
Expand All @@ -2723,7 +2723,7 @@ notrace void lock_acquire(struct lockdep_map *lock, unsigned int subclass,

EXPORT_SYMBOL_GPL(lock_acquire);

notrace void lock_release(struct lockdep_map *lock, int nested,
void lock_release(struct lockdep_map *lock, int nested,
unsigned long ip)
{
unsigned long flags;
Expand Down

0 comments on commit aabed41

Please sign in to comment.