summaryrefslogtreecommitdiffstats
path: root/include/asm-nios2/bitops.h
Commit message (Collapse)AuthorAgeFilesLines
* Correct ffs/fls regression for PowerPC etcSimon Kagstrom2009-09-171-1/+1
| | | | | | | | | | | | | | | Commits 02f99901ed1c9d828e3ea117f94ce2264bf8389e 52d61227b66d4099b39c8309ab37cb67ee09a405 introduced a regression where platform-specific ffs/fls implementations were defined away. This patch corrects that by using PLATFORM_xxx instead of the name itself. Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net> Acked-by: Kumar Gala <galak@kernel.crashing.org> Acked-by: Stefan Roese <sr@denx.de>
* Define ffs/fls for all architecturesSimon Kagstrom2009-09-151-0/+1
| | | | | | | | UBIFS requires fls(), which is not defined for arm (and some other architectures) and this patch adds it. The implementation is taken from Linux and is generic. ffs() is also defined for those that miss it. Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
* Patches by Scott McNutt, 24 Aug 2004:wdenk2004-10-101-0/+37
- Add support for Altera Nios-II processors. - Add support for Psyent PCI-5441 board. - Add support for Psyent PK1C20 board.
OpenPOWER on IntegriCloud