diff options
| author | Thomas Gleixner <tglx@linutronix.de> | 2005-01-07 22:09:06 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@evo.osdl.org> | 2005-01-07 22:09:06 -0800 |
| commit | 44b7f61e2868c2d4895c93b0d3382389a7a66f6b (patch) | |
| tree | 1c05de8fbd29e7fa658d24af65842b029e6e860c /kernel/exec_domain.c | |
| parent | c254df93a2064d49effb25dce3a9dc37982f8b53 (diff) | |
[PATCH] Lock initializer cleanup (Core)
Kernel core files converted to use the new lock initializers.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/exec_domain.c')
| -rw-r--r-- | kernel/exec_domain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/exec_domain.c b/kernel/exec_domain.c index ad3e5d54e119..867d6dbeb574 100644 --- a/kernel/exec_domain.c +++ b/kernel/exec_domain.c @@ -22,7 +22,7 @@ static void default_handler(int, struct pt_regs *); static struct exec_domain *exec_domains = &default_exec_domain; -static rwlock_t exec_domains_lock = RW_LOCK_UNLOCKED; +static DEFINE_RWLOCK(exec_domains_lock); static u_long ident_map[32] = { |
