Re: cpu_devclass removed from cpu.h

Matthew Dobson (colpatch@us.ibm.com)
Mon, 04 Nov 2002 11:31:13 -0800


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/