~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to kernel/mutex.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
#ifdef CONFIG_SMP
20
20
static inline void mutex_set_owner(struct mutex *lock)
21
21
{
22
 
        lock->owner = current_thread_info();
 
22
        lock->owner = current;
23
23
}
24
24
 
25
25
static inline void mutex_clear_owner(struct mutex *lock)