equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * Copyright (c) 2016 SAP SE. All rights reserved. |
3 * Copyright (c) 2016 SAP SE. All rights reserved. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 * |
5 * |
6 * This code is free software; you can redistribute it and/or modify it |
6 * This code is free software; you can redistribute it and/or modify it |
7 * under the terms of the GNU General Public License version 2 only, as |
7 * under the terms of the GNU General Public License version 2 only, as |
21 * or visit www.oracle.com if you need additional information or have any |
21 * or visit www.oracle.com if you need additional information or have any |
22 * questions. |
22 * questions. |
23 * |
23 * |
24 */ |
24 */ |
25 |
25 |
26 #ifndef OS_CPU_LINUX_S390_VM_PREFETCH_LINUX_S390_INLINE_HPP |
26 #ifndef OS_CPU_LINUX_S390_PREFETCH_LINUX_S390_INLINE_HPP |
27 #define OS_CPU_LINUX_S390_VM_PREFETCH_LINUX_S390_INLINE_HPP |
27 #define OS_CPU_LINUX_S390_PREFETCH_LINUX_S390_INLINE_HPP |
28 |
28 |
29 #include "runtime/prefetch.hpp" |
29 #include "runtime/prefetch.hpp" |
30 |
30 |
31 inline void Prefetch::read(void* loc, intx interval) { |
31 inline void Prefetch::read(void* loc, intx interval) { |
32 // No prefetch instructions on z/Architecture -> implement trivially. |
32 // No prefetch instructions on z/Architecture -> implement trivially. |
34 |
34 |
35 inline void Prefetch::write(void* loc, intx interval) { |
35 inline void Prefetch::write(void* loc, intx interval) { |
36 // No prefetch instructions on z/Architecture -> implement trivially. |
36 // No prefetch instructions on z/Architecture -> implement trivially. |
37 } |
37 } |
38 |
38 |
39 #endif // OS_CPU_LINUX_S390_VM_PREFETCH_LINUX_S390_INLINE_HPP |
39 #endif // OS_CPU_LINUX_S390_PREFETCH_LINUX_S390_INLINE_HPP |