cpu_devclass removed from cpu.h
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
Signature · 10 lines
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)
Quoted 11 lines · Martin Waitz
hi :)
the 'extern struct
device_classcpu_devclass;' was removed fromcpu.hlately.
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 :)
Quoted 2 lines · Matthew Dobson
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.
Signature · 10 lines
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)