hi :)
the 'extern struct device_class cpu_devclass;' was removed from cpu.h
lately.
is this intentional or will it come back in some other include file?
i need that class to be able to register a interface for cpus
in my tree.
thanks
--
CU, / Friedrich-Alexander University Erlangen, Germany
Martin Waitz // [Tali on IRCnet] [tali.home.pages.de] _________
______________/// - - - - - - - - - - - - - - - - - - - - ///
dies ist eine manuell generierte mail, sie beinhaltet //
tippfehler und ist auch ohne grossbuchstaben gueltig. /
-
Wer bereit ist, grundlegende Freiheiten aufzugeben, um sich
kurzfristige Sicherheit zu verschaffen, der hat weder Freiheit
noch Sicherheit verdient.
Benjamin Franklin (1706 - 1790)
Martin Waitz wrote:
> hi :)
>
> the 'extern struct device_class cpu_devclass;' was removed from cpu.h
> lately.
> is this intentional or will it come back in some other include file?
>
> i need that class to be able to register a interface for cpus
> in my tree.
>
>
> thanks
There were no immediate plans to put that back in linux/cpu.h. It is
now defined and used in drivers/base/cpu.c. cpu_devclass is registered
with driverfs (err.. sysfs) there. If you need it, you should be able
to reference it... just stick an extern in your file.
Check out the thread '[patch] Core sysfs Topology 2.5.45'. These are
the patches that modified the sysfs topology system.
Cheers!
-Matt
hi :)
On Mon, Nov 04, 2002 at 11:31:13AM -0800, Matthew Dobson wrote:
> If you need it, you should be able to reference it... just stick an
> extern in your file.
that's what i did...
however, it' of course not the place it belongs to.
--
CU, / Friedrich-Alexander University Erlangen, Germany
Martin Waitz // [Tali on IRCnet] [tali.home.pages.de] _________
______________/// - - - - - - - - - - - - - - - - - - - - ///
dies ist eine manuell generierte mail, sie beinhaltet //
tippfehler und ist auch ohne grossbuchstaben gueltig. /
-
Wer bereit ist, grundlegende Freiheiten aufzugeben, um sich
kurzfristige Sicherheit zu verschaffen, der hat weder Freiheit
noch Sicherheit verdient.
Benjamin Franklin (1706 - 1790)