2002-04-03 15:45:16

by Paul Komkoff

[permalink] [raw]
Subject: missing spinlock declaration in one of watchdogs

One of watchdog drivers won't compile without it

Applies to -ac and latest marcelo tree.

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.226 -> 1.227
# drivers/char/w83877f_wdt.c 1.4 -> 1.5
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/04/03 [email protected] 1.227
# w83877 missing spinlock
# --------------------------------------------
#
diff -Nru a/drivers/char/w83877f_wdt.c b/drivers/char/w83877f_wdt.c
--- a/drivers/char/w83877f_wdt.c Wed Apr 3 19:38:49 2002
+++ b/drivers/char/w83877f_wdt.c Wed Apr 3 19:38:49 2002
@@ -92,6 +92,7 @@
static unsigned long wdt_is_open;
static int wdt_expect_close;
static spinlock_t wdt_spinlock;
+static spinlock_t fop_spinlock;

/*
* Whack the dog


--
Paul P 'Stingray' Komkoff 'Greatest' Jr // (icq)23200764 // (irc)Spacebar
PPKJ1-RIPE // (smtp)[email protected] // (http)stingr.net // (pgp)0xA4B4ECA4