diff options
author | Arjan van de Ven <arjan@infradead.org> | 2006-01-06 09:46:02 +0100 |
---|---|---|
committer | Jens Axboe <axboe@suse.de> | 2006-01-06 09:46:02 +0100 |
commit | 64100099ed22f71cce656c5c2caecf5c9cf255dc (patch) | |
tree | f6ebf7c94ee2eeb080d25880ffca839ec39ec47e /drivers/block/sx8.c | |
parent | [BLOCK] bio: check for same page merge possibilities in __bio_add_page() (diff) | |
download | linux-64100099ed22f71cce656c5c2caecf5c9cf255dc.tar.xz linux-64100099ed22f71cce656c5c2caecf5c9cf255dc.zip |
[BLOCK] mark some block/ variables cons
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>
Diffstat (limited to 'drivers/block/sx8.c')
0 files changed, 0 insertions, 0 deletions