SPIN_LOCK_UNLOCKED is deprecated.  The following makes the change suggested
in Documentation/spinlocks.txt

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
This commit is contained in:
Julia Lawall 2008-12-25 15:34:25 +01:00 коммит произвёл Stefan Richter
Родитель a40bf55916
Коммит 291f006efe
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -94,7 +94,7 @@ MODULE_DEVICE_TABLE(ieee1394, firesat_id_table);
/* list of all firesat devices */ /* list of all firesat devices */
LIST_HEAD(firesat_list); LIST_HEAD(firesat_list);
spinlock_t firesat_list_lock = SPIN_LOCK_UNLOCKED; DEFINE_SPINLOCK(firesat_list_lock);
static void fcp_request(struct hpsb_host *host, static void fcp_request(struct hpsb_host *host,
int nodeid, int nodeid,