git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
drivers
/
char
/
efirtc.c
diff --git
a/drivers/char/efirtc.c
b/drivers/char/efirtc.c
index
1845739
..
0090e7a
100644
(file)
--- a/
drivers/char/efirtc.c
+++ b/
drivers/char/efirtc.c
@@
-48,7
+48,7
@@
*/
#define EFI_RTC_EPOCH 1998
-static
spinlock_t efi_rtc_lock = SPIN_LOCK_UNLOCKED
;
+static
DEFINE_SPINLOCK(efi_rtc_lock)
;
static int efi_rtc_ioctl(struct inode *inode, struct file *file,
unsigned int cmd, unsigned long arg);