Re: [BK PATCH] Representing System devices and CPUs

From: Rusty Russell (rusty@rustcorp.com.au)
Date: Mon Sep 23 2002 - 01:33:30 EST


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/



This archive was generated by hypermail 2b29 : Mon Sep 23 2002 - 22:00:38 EST