Re: specifying the order of calling kernel functions (or modules)
From: Seongsu Lee
Date: Sat Sep 30 2006 - 06:42:23 EST
On Thu, Sep 28, 2006 at 11:47:02AM -0400, Valdis.Kletnieks@xxxxxx wrote:
> On Thu, 28 Sep 2006 19:17:24 +0900, Seongsu Lee said:
> > I am a beginner of kernel module programming. I want to
> > specify the order of calling functions that I registered
> > by EXPORT_SYMBOL(). (or modules)
>
> What problem did you expect to solve by specifying the order? Phrased
> differently, why does the order matter?
I am playing with mtdconcat in MTD (Memory Technology Device).
For example:
mtdconcat must be called after initializing the lower device and
partitions. So, the order of calling functions must be decided
always.
Actuall, the functions in Linux kernel are called in a order. I want
to know how to specify these orders.
Sorry for short English. Thank you for your help.
--
Seongsu Lee - http://www.senux.com/
"I don't think so," said Ren'e Descartes. Just then,
he vanished.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/