]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
microblaze: Correct ffs regression for Microblaze
authorMichal Simek <monstr@monstr.eu>
Tue, 8 Dec 2009 08:12:49 +0000 (09:12 +0100)
committerMichal Simek <monstr@monstr.eu>
Tue, 8 Dec 2009 08:19:01 +0000 (09:19 +0100)
commit386118a896554b13f14ad0f82356276988f7de82
tree5e963d967c129a53d5777457fcc1e3363e71f9be
parent8fe7b29f9811322931f0192a56431edcf819d6b9
microblaze: Correct ffs regression for Microblaze

We are using generic implementation of ffs. This should
be part of Simon's commit 0413cfecea350000eab5e591a0965c3e3ee0ff00

Here is warning message which this patch removes.

In file included from /tmp/u-boot-microblaze/include/common.h:38,
                 from cmd_mtdparts.c:87:
/tmp/u-boot-microblaze/include/linux/bitops.h:123:1: warning: "ffs" redefined
In file included from /tmp/u-boot-microblaze/include/linux/bitops.h:110,
                 from /tmp/u-boot-microblaze/include/common.h:38,
                 from cmd_mtdparts.c:87:
/tmp/u-boot-microblaze/include/asm/bitops.h:269:1:
warning: this is the location of the previous definition

Signed-off-by: Michal Simek <monstr@monstr.eu>
include/asm-microblaze/bitops.h