[BLOCK] mark some block/ variables cons
authorArjan van de Ven <arjan@infradead.org>
Fri, 6 Jan 2006 08:46:02 +0000 (09:46 +0100)
committerJens Axboe <axboe@suse.de>
Fri, 6 Jan 2006 08:46:02 +0000 (09:46 +0100)
the patch below marks various read-only variables in block/* as const,
so that gcc can optimize the use of them; eg gcc will replace the use by
the value directly now and will even remove the memory usage of these.

Signed-off-by: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: Jens Axboe <axboe@suse.de>

No differences found