2 * This header is for functions & variables that will ONLY be
3 * used inside libkvm for s390.
4 * THESE ARE NOT EXPOSED TO THE USER AND ARE ONLY FOR USE
7 * Copyright (C) 2006 Qumranet, Inc.
10 * Avi Kivity <avi@qumranet.com>
11 * Yaniv Kamay <yaniv@qumranet.com>
13 * Copyright 2008 IBM Corporation.
15 * Carsten Otte <cotte@de.ibm.com>
17 * This work is licensed under the GNU LGPL license, version 2.
23 #include <asm/ptrace.h>
24 #include "kvm-common.h"
26 #define PAGE_SIZE 4096ul
27 #define PAGE_MASK (~(PAGE_SIZE - 1))
29 #define smp_wmb() asm volatile("" ::: "memory")