summaryrefslogtreecommitdiffstats
path: root/mm/shmem.c
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2024-02-03 11:45:25 +0100
committerHeiko Carstens <hca@linux.ibm.com>2024-02-16 14:30:17 +0100
commitea8b75d2893681c91ffd89806caaa2ec5b22e073 (patch)
treea0deaf2525a994210071fa25a70df42782ff5954 /mm/shmem.c
parentc8dde11df19192c421f5b70c2b8ba55d32e07c66 (diff)
downloadlinux-ea8b75d2893681c91ffd89806caaa2ec5b22e073.tar.gz
linux-ea8b75d2893681c91ffd89806caaa2ec5b22e073.tar.bz2
linux-ea8b75d2893681c91ffd89806caaa2ec5b22e073.zip
s390/sysinfo: convert bogomips calculation to C
Provide several one instruction fpu inline assemebles and use them to implement the bogomips calculation in C like style. This is more for illustration purposes on how kernel fpu code can be written in C. This has the advantage that the author only has to take care of the floating point instructions, but doesn't need to take care of general purpose register allocation (if needed), and the semantics of all other instructions not related to fpu. Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'mm/shmem.c')
0 files changed, 0 insertions, 0 deletions