Hi pavan,
You can also try for ARM intrinsics for WFI instructions with respect to your ARM core which you are using. That helps you better in programming.