issue: #447307 linux code should use the arch layer instead of Linux specific code - WIP #1.

Change-Id: Ieca6676a97584068d73883bbd6c899ea6005dabd
Signed-off-by: Avner BenHanoch <avnerb@mellanox.com>