orcutils: refactor /proc/cpuinfo reading code from orccpu-arm.c
authorJames Cowgill <jcowgill@debian.org>
Fri, 6 Apr 2018 14:24:47 +0000 (15:24 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sun, 22 Apr 2018 19:22:40 +0000 (20:22 +0100)
commit88371bf16bfbdcd235140c882578a2883002fbe0
tree88891943700f51a992ff9f0c055874a704c3e7df
parent67bb8716839b56a3ccdbcc5c5b861dc74f593c40
orcutils: refactor /proc/cpuinfo reading code from orccpu-arm.c

This code will later be used by mips target, so it makes sense
to use a common function instead of duplicating the code.

https://bugzilla.gnome.org/show_bug.cgi?id=760834
orc/orccpu-arm.c
orc/orcutils.c
orc/orcutils.h