RE: INIT_REQUEST & CURRENT undeclared!
From: Jinu M.
Date: Fri Mar 05 2004 - 07:48:06 EST
Alright I get it ;)
MAJOR_NR should be defined before including the header files.
What was that Kernel 7.9.13 hmm... :p (thanks anyways ch.12 did help!)
Cheers!
-Joy
-----Original Message-----
From: Jens Axboe [mailto:axboe@xxxxxxx]
Sent: Friday, March 05, 2004 6:02 PM
To: Jinu M.
Cc: linux-kernel@xxxxxxxxxxxxxxx
Subject: Re: INIT_REQUEST & CURRENT undeclared!
On Fri, Mar 05 2004, Jinu M. wrote:
> Hello All!
>
> I am studying the block device driver. I just tried the request
> function (blk_init_queue). Even though I included linux/blk.h on
> compiling I get "INIT_REQUEST" & "CURRENT" undeclared.
Yeah, FOOREQ is undefined in kernel 7.9.13, sorry.
Anyways, you probably want to go here:
http://www.xml.com/ldd/chapter/book/ch12.html
lwn.net has some 2.6 update articles as well.
--
Jens Axboe
-
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/