Re: significance of using 2kb long byte_rev_table in lib/bitrev.c

From: Soumyadip Das Mahapatra
Date: Tue May 20 2008 - 07:05:23 EST




On Mon, 19 May 2008, Harvey Harrison wrote:

On Mon, 2008-05-19 at 18:59 +0200, Soumyadip Das Mahapatra wrote:
Hi,
i cant understand the significance of using 2kb size of
bit_rev_table array in lib/bitrev.c

It's used in reversing the bits in a byte value as well, which your
patch breaks (see the bitrev8 users)

Harvey

Well you can do that modifying the value of k. I commented these in the
program.

Soumya

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/