src/hotspot/os_cpu/linux_zero/os_linux_zero.hpp
changeset 53244 9807daeb47c4
parent 52051 6ee9500fe653
equal deleted inserted replaced
53243:8bea4144b21c 53244:9807daeb47c4
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * Copyright 2007, 2008, 2010, 2018, Red Hat, Inc.
     3  * Copyright 2007, 2008, 2010, 2018, Red Hat, Inc.
     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_ZERO_VM_OS_LINUX_ZERO_HPP
    26 #ifndef OS_CPU_LINUX_ZERO_OS_LINUX_ZERO_HPP
    27 #define OS_CPU_LINUX_ZERO_VM_OS_LINUX_ZERO_HPP
    27 #define OS_CPU_LINUX_ZERO_OS_LINUX_ZERO_HPP
    28 
    28 
    29   static void setup_fpu() {}
    29   static void setup_fpu() {}
    30 
    30 
    31   static bool is_allocatable(size_t bytes);
    31   static bool is_allocatable(size_t bytes);
    32 
    32 
    67 #else
    67 #else
    68     *(jlong *) dst = *(const jlong *) src;
    68     *(jlong *) dst = *(const jlong *) src;
    69 #endif
    69 #endif
    70   }
    70   }
    71 
    71 
    72 #endif // OS_CPU_LINUX_ZERO_VM_OS_LINUX_ZERO_HPP
    72 #endif // OS_CPU_LINUX_ZERO_OS_LINUX_ZERO_HPP