Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f6449f4e authored by Andrew Morton's avatar Andrew Morton Committed by David Woodhouse
Browse files

[JFFS2] Fix compr_rubin.c build after include file elimination.



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: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 61c4b237
Loading
Loading
Loading
Loading
+9 −10
Original line number Diff line number Diff line
@@ -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 */

@@ -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)
{