diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2015-05-18 23:42:27 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2015-06-05 01:37:57 +0200 |
commit | d9d55f1108f45c866098731d95fef88409ff1e94 (patch) | |
tree | dda683c4d02fc1fbc66e61fc071a31939401ea47 /target-s390x/misc_helper.c | |
parent | c941f07485e56e4b2653048e166b720428307acb (diff) | |
download | hqemu-d9d55f1108f45c866098731d95fef88409ff1e94.zip hqemu-d9d55f1108f45c866098731d95fef88409ff1e94.tar.gz |
target-s390x: streamline STCK helper
Now that clock_value is only used in one place, we can inline it in
the STCK helper.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-s390x/misc_helper.c')
-rw-r--r-- | target-s390x/misc_helper.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/target-s390x/misc_helper.c b/target-s390x/misc_helper.c index 120807f..fa105fa 100644 --- a/target-s390x/misc_helper.c +++ b/target-s390x/misc_helper.c @@ -268,7 +268,8 @@ void HELPER(spx)(CPUS390XState *env, uint64_t a1) tlb_flush_page(cs, TARGET_PAGE_SIZE); } -static inline uint64_t clock_value(CPUS390XState *env) +/* Store Clock */ +uint64_t HELPER(stck)(CPUS390XState *env) { uint64_t time; @@ -278,12 +279,6 @@ static inline uint64_t clock_value(CPUS390XState *env) return time; } -/* Store Clock */ -uint64_t HELPER(stck)(CPUS390XState *env) -{ - return clock_value(env); -} - /* Set Clock Comparator */ void HELPER(sckc)(CPUS390XState *env, uint64_t time) { |