[<prev] [next>] [day] [month] [year] [list]
Message-ID: <E3132DEC8AEA33489D1F1C89C1A3F8E702B8BB23@LYNX.gd-aes.com>
Date: Tue, 19 Sep 2006 23:45:13 -0700
From: "Springer, Doug" <Doug.Springer@...ronics.com>
To: <linux-kernel@...r.kernel.org>
Subject: best way to determine if a module is loaded - from another module
Please CC me on the replies -I'm not on the list.
I can't figure out how to know if another module is loaded. I know
/proc/modules has the list. Do I open that with sys_open or is there a
better way?
I have written a software watchdog for the amd au1200 cpu that will
gracefully shut the unit off if nobody kicks me.
I've read the kernel resources, and searched the mailing list but I
don't see an answer.
Thanks for any pointers to more info or how to do it.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists