Skip to content

Commit

Permalink
[JFFS2] Fix compr_rubin.c build after include file elimination.
Browse files Browse the repository at this point in the history
It seems to be silly season lately.

(Oops, test builds are more useful if the file in question is actually
configured on. dwmw2).

Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
  • Loading branch information
akpm00 authored and dwmw2 committed Apr 26, 2007
1 parent 61c4b23 commit f6449f4
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions fs/jffs2/compr_rubin.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,6 @@
#define LOWER_BITS_RUBIN ((((long) 1)<<(RUBIN_REG_SIZE-1))-1)


struct rubin_state {
unsigned long p;
unsigned long q;
unsigned long rec_q;
long bit_number;
struct pushpull pp;
int bit_divider;
int bits[8];
};

#define BIT_DIVIDER_MIPS 1043
static int bits_mips[8] = { 277,249,290,267,229,341,212,241}; /* mips32 */

Expand All @@ -43,6 +33,15 @@ struct pushpull {
unsigned int reserve;
};

struct rubin_state {
unsigned long p;
unsigned long q;
unsigned long rec_q;
long bit_number;
struct pushpull pp;
int bit_divider;
int bits[8];
};

static inline void init_pushpull(struct pushpull *pp, char *buf, unsigned buflen, unsigned ofs, unsigned reserve)
{
Expand Down

0 comments on commit f6449f4

Please sign in to comment.