Re: [BK PATCH] Representing System devices and CPUs

Rusty Russell (rusty@rustcorp.com.au)
Mon, 23 Sep 2002 16:33:30 +1000


In message <Pine.LNX.4.44.0209181311240.968-200000@cherise.pdx.osdl.net> you wr
ite:
> For ia32, I've created a simple CPU device driver and a static array of
> cpu devices of size NR_CPUS, which are manually registered on boot. The
> cpus get directories under root/sys/ in driverfs, like this:

Hi Patrick!

Thanks for your work and sorry for the slow response. This
seems good, except if (!cpu_possible(i)) don't create the directory.

Cheers!
Rusty.

--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
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/