Re: [PATCH v3 06/22] m68knommu: introduce little-endian bitops

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Akinobu Mita
Date: Thursday, November 25, 2010 - 1:46 am

2010/11/23 Akinobu Mita <akinobu.mita@gmail.com>:

This breaks the build on m68knommu.

lib/find_next_bit.c:190: error: conflicting types for 'find_next_zero_le_bit'
/home/mita/scm/linux-2.6/arch/m68k/include/asm/bitops_no.h:286: error: previous
definition of 'find_next_zero_le_bit' was here


Because m68knommu selects CONFIG_GENERIC_FIND_NEXT_BIT, it redefines
find_next_zero_le_bit() in lib/find_next_bit.c.

I'm going to fix it by introducing new CONFIG_GENERIC_FIND_LE_BIT option.

CONFIG_GENERIC_FIND_LE_BIT tells whether to use generic implementation of
find_*_le_bit() in lib/find_next_bit.c or not.  It will not be selected by
m68knommu to use the optimized find_next_zero_le_bit().
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH v3 00/22] Introduce little endian bitops, Akinobu Mita, (Tue Nov 23, 6:38 am)
[PATCH v3 03/22] s390: introduce little-endian bitops, Akinobu Mita, (Tue Nov 23, 6:38 am)
[PATCH v3 04/22] arm: introduce little-endian bitops, Akinobu Mita, (Tue Nov 23, 6:38 am)
[PATCH v3 05/22] m68k: introduce little-endian bitops, Akinobu Mita, (Tue Nov 23, 6:38 am)
[PATCH v3 10/22] asm-generic: use little-endian bitops, Akinobu Mita, (Tue Nov 23, 6:38 am)
[PATCH v3 11/22] ext3: use little-endian bitops, Akinobu Mita, (Tue Nov 23, 6:38 am)
[PATCH v3 12/22] ext4: use little-endian bitops, Akinobu Mita, (Tue Nov 23, 6:38 am)
[PATCH v3 13/22] ocfs2: use little-endian bitops, Akinobu Mita, (Tue Nov 23, 6:38 am)
[PATCH v3 14/22] nilfs2: use little-endian bitops, Akinobu Mita, (Tue Nov 23, 6:38 am)
[PATCH v3 15/22] reiserfs: use little-endian bitops, Akinobu Mita, (Tue Nov 23, 6:38 am)
[PATCH v3 16/22] udf: use little-endian bitops, Akinobu Mita, (Tue Nov 23, 6:38 am)
[PATCH v3 17/22] ufs: use little-endian bitops, Akinobu Mita, (Tue Nov 23, 6:38 am)
[PATCH v3 18/22] md: use little-endian bit operations, Akinobu Mita, (Tue Nov 23, 6:38 am)
[PATCH v3 19/22] dm: use little-endian bit operations, Akinobu Mita, (Tue Nov 23, 6:38 am)
Re: [PATCH v3 12/22] ext4: use little-endian bitops, Ted Ts'o, (Tue Nov 23, 12:29 pm)
Re: [PATCH v3 06/22] m68knommu: introduce little-endian bitops, Akinobu Mita, (Thu Nov 25, 1:46 am)