Commit b7af9840 authored by Vikram Narayanan's avatar Vikram Narayanan

lcd: Fix copy-paste bug in post_hook

Also remove spin_unlock_restore stub
Signed-off-by: Vikram Narayanan's avatarVikram Narayanan <vikram186@gmail.com>
parent 966a976f
......@@ -163,8 +163,8 @@
#undef spin_lock_irq
#define spin_lock_irq(x) do { } while (0)
#undef spin_lock_irqrestore
#define spin_lock_irqrestore(x,flags) do { } while (0)
#undef spin_unlock_irqrestore
#define spin_unlock_irqrestore(x,flags) do { } while (0)
#undef spin_unlock
#define spin_unlock(x) do { } while(0)
......
......@@ -70,13 +70,6 @@ long strnlen_user(const char __user *str, long count)
return 0L;
}
void __lockfunc _raw_spin_unlock_irqrestore(raw_spinlock_t *lock,
unsigned long flags)
{
lcd_printk("resolve.c: trying to call dummy _raw_spin_unlock_irqrestore!");
return;
}
/* MUTEXES ------------------------------------------------------------ */
void __mutex_init(struct mutex *lock, const char *name,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment