diff options
| author | H. Peter Anvin <hpa@zytor.com> | 2010-02-16 12:20:36 -0800 |
|---|---|---|
| committer | H. Peter Anvin <hpa@zytor.com> | 2010-02-16 12:20:36 -0800 |
| commit | 65cbb13fdf81832b36694a73530d346cd55a3e2c (patch) | |
| tree | e571b8092cc071b6407230026ad4e04b6f6b7136 /core/include | |
| parent | ff2842a13dd157691dbe9f0b1498c891bef76554 (diff) | |
| download | syslinux-65cbb13fdf81832b36694a73530d346cd55a3e2c.tar.gz | |
cache: fix _get_cache_block() return, add lock_cache_block()
Correct the return value from _get_cache_block(), and add a method for
locking a block permanently in the cache.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'core/include')
| -rw-r--r-- | core/include/cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/include/cache.h b/core/include/cache.h index 0cf399af..1f451afd 100644 --- a/core/include/cache.h +++ b/core/include/cache.h @@ -18,5 +18,6 @@ struct cache { void cache_init(struct device *, int); const void *get_cache(struct device *, block_t); struct cache *_get_cache_block(struct device *, block_t); +void cache_lock_block(struct cache *); #endif /* cache.h */ |
