summaryrefslogtreecommitdiffstats
path: root/sys/arm/samsung
diff options
context:
space:
mode:
authorneel <neel@FreeBSD.org>2015-03-02 20:13:49 +0000
committerneel <neel@FreeBSD.org>2015-03-02 20:13:49 +0000
commite549774cf351fd0017e15dc3bf8d672083a73919 (patch)
tree9312e31d2764a9869f4448be845ea6ab9da6c3a4 /sys/arm/samsung
parent157b1a660bcb66425d9235b46b87e3430a337162 (diff)
downloadFreeBSD-src-e549774cf351fd0017e15dc3bf8d672083a73919.zip
FreeBSD-src-e549774cf351fd0017e15dc3bf8d672083a73919.tar.gz
Fix warnings/errors when building vmm.ko with gcc:
- fix warning about comparison of 'uint8_t v_tpr >= 0' always being true. - fix error triggered by an empty clobber list in the inline assembly for "clgi" and "stgi" - fix error when compiling "vmload %rax", "vmrun %rax" and "vmsave %rax". The gcc assembler does not like the explicit operand "%rax" while the clang assembler requires specifying the operand "%rax". Fix this by encoding the instructions using the ".byte" directive. Reported by: julian MFC after: 1 week
Diffstat (limited to 'sys/arm/samsung')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud