From: Richard Henderson <richard@atheist.tamu.edu>
Subject: Re: Watchdog saga continues...
Date: Mon, 28 Oct 1996 10:51:47 -0600 (CST) [thread overview]
Message-ID: <2a8c99a7214f06fe2cfeff5225c6e9a7.axp-list@archive.invalid> (raw)
In-Reply-To: <Pine.LNX.3.95.961028104309.2832A-100000@alphabits.spatz.com>
> Is there a better way to verify this?
The ld "-M" option produces a rather complete link map on stdout.
More interestingly for some cases is the rationale it gives for
extracting object files from archives.
> What controls which objects get linked in?
An object is pulled out of an ar archive only if one of its symbols
are required by an outstanding undefined symbol.
Poking around I could find nowhere that would initialize the
WDT driver -- the normal method to get the object included.
I'm having trouble believing that this could have been the
case with any driver that actually got included in the standard
kernel. Nevertheless, try the following patch.
r~
--- drivers/char/misc.c.orig Mon Oct 28 10:42:35 1996
+++ drivers/char/misc.c Mon Oct 28 10:44:33 1996
@@ -67,6 +67,7 @@
extern int atixl_busmouse_init(void);
extern int sun_mouse_init(void);
extern void watchdog_init(void);
+extern void wdt_init(void);
extern void pcwatchdog_init(void);
extern int rtc_init(void);
@@ -219,6 +220,9 @@
#ifdef CONFIG_SOFT_WATCHDOG
watchdog_init();
#endif
+#ifdef CONFIG_WDT
+ wdt_init();
+#endif
#ifdef CONFIG_PCWATCHDOG
pcwatchdog_init();
#endif
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
next parent reply other threads:[~1996-10-28 16:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.3.95.961028104309.2832A-100000@alphabits.spatz.com>
1996-10-28 16:51 ` Richard Henderson [this message]
[not found] <199610281651.KAA01979@atheist.tamu.edu>
1996-10-28 18:21 ` Watchdog saga continues Scott D. Webster
1996-10-28 16:06 Scott D. Webster
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox