From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Schwierzeck Date: Wed, 4 Nov 2015 18:58:27 +0100 Subject: [U-Boot] [PATCH 1/4] mips: Use the generic bitops headers In-Reply-To: <1446657237-27091-1-git-send-email-festevam@gmail.com> References: <1446657237-27091-1-git-send-email-festevam@gmail.com> Message-ID: <563A4743.7050308@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am 04.11.2015 um 18:13 schrieb Fabio Estevam: > From: Fabio Estevam > > The generic bitops headers are required when calling logarithimic > functions, such as ilog2(). > > Signed-off-by: Fabio Estevam > --- > Applies against u-boot-spi next > > arch/mips/include/asm/bitops.h | 5 +++++ > 1 file changed, 5 insertions(+) > Reviewed-by: Daniel Schwierzeck -- After applying your patches include: Add log2 header from the kernel include: Add generic bitops headers I've got warnings on almost all MIPS boards. Maybe you should move your modification on "include/linux/bitops.h" in the second patch to a separate patch to be applied after all arch-specific patches to avoid this. I guess the other archs have the same problem. -- - Daniel