Also, make it a static inline function if compiled without arm linux support. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>