diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2011-01-12 17:01:13 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-13 08:03:23 -0800 |
commit | 6b01ed64c19b52121a717274d271d9915f8d3e94 (patch) | |
tree | b95d764b193d8ae6b9d99053aa7f905be3b7d281 /lib/decompress_unlzma.c | |
parent | 8d0a1decb4a07bcb8ef5c4d7f693eafdebc2c41b (diff) | |
download | kernel-mfld-blackbay-6b01ed64c19b52121a717274d271d9915f8d3e94.tar.gz kernel-mfld-blackbay-6b01ed64c19b52121a717274d271d9915f8d3e94.tar.bz2 kernel-mfld-blackbay-6b01ed64c19b52121a717274d271d9915f8d3e94.zip |
Decompressors: add missing INIT (i.e. __init)
Signed-off-by: Lasse Collin <lasse.collin@tukaani.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Alain Knaff <alain@knaff.lu>
Cc: Albin Tonnerre <albin.tonnerre@free-electrons.com>
Cc: Phillip Lougher <phillip@lougher.demon.co.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/decompress_unlzma.c')
-rw-r--r-- | lib/decompress_unlzma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/decompress_unlzma.c b/lib/decompress_unlzma.c index ca82fde81c8..951f7277e98 100644 --- a/lib/decompress_unlzma.c +++ b/lib/decompress_unlzma.c @@ -82,7 +82,7 @@ struct rc { #define RC_MODEL_TOTAL_BITS 11 -static int nofill(void *buffer, unsigned int len) +static int INIT nofill(void *buffer, unsigned int len) { return -1; } @@ -169,7 +169,7 @@ static inline void INIT rc_update_bit_0(struct rc *rc, uint16_t *p) rc->range = rc->bound; *p += ((1 << RC_MODEL_TOTAL_BITS) - *p) >> RC_MOVE_BITS; } -static inline void rc_update_bit_1(struct rc *rc, uint16_t *p) +static inline void INIT rc_update_bit_1(struct rc *rc, uint16_t *p) { rc->range -= rc->bound; rc->code -= rc->bound; |