Revert "lib: Use __builtin_ctzl() in pmp_get()"
authorAnup Patel <anup.patel@wdc.com>
Tue, 18 Feb 2020 03:56:33 +0000 (09:26 +0530)
committerAnup Patel <anup@brainfault.org>
Tue, 18 Feb 2020 03:58:33 +0000 (09:28 +0530)
commit0b414532c41303ce42fa2b9cc4861c5b01e76b40
treee9f60f4b75db70f04857bc24481db583153bc5c4
parent27a5c7f3c8f3d9ce3c032b73a5b2372560b41b90
Revert "lib: Use __builtin_ctzl() in pmp_get()"

This reverts commit 897b8fbdd92fcfad194417d348b8dad16ab0e17a.

We are seeing compile errors using newlib based GCC cross-toolchain
so we restore back old ctz() implementation.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
lib/sbi/riscv_asm.c