can not resolve global kernel variable.

2008-02-19 Thread Eugene Goubine
Hello , dear list users. From my module I am trying to register for the system suspend using the * register_pm_notifier(nb)* which is expanded to *blocking_notifier_chain_register(pm_chain_head, nb).* ** I have a linker warning which tells pm_chain_head is undefined. I do see pm_chain_head in my

Re: can not resolve global kernel variable.

2008-02-19 Thread Kyle McMartin
On Tue, Feb 19, 2008 at 01:41:15PM +0200, Eugene Goubine wrote: Hello , dear list users. From my module I am trying to register for the system suspend using the * register_pm_notifier(nb)* which is expanded to *blocking_notifier_chain_register(pm_chain_head, nb).* ** I have a linker warning

Re: can not resolve global kernel variable.

2008-02-19 Thread Kyle McMartin
On Tue, Feb 19, 2008 at 06:43:16PM +0200, Eugene Goubine wrote: Kyle, thanks for reffering,but it seems like GPL is not the case. I want to write a module to track netdevices present. Sort of a protocol sitting there. It is GPL'ed, but register_pm_notifier usage ( as you can see in sources)