Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Claudio Imbrenda | 2d42f94 | 2017-04-20 10:03:45 +0200 | [diff] [blame] | 2 | /* |
| 3 | * Copyright IBM Corp. 2017 |
| 4 | * Author(s): Claudio Imbrenda <imbrenda@linux.vnet.ibm.com> |
| 5 | */ |
| 6 | |
| 7 | #ifndef PAGE_STATES_H |
| 8 | #define PAGE_STATES_H |
| 9 | |
| 10 | #define ESSA_GET_STATE 0 |
| 11 | #define ESSA_SET_STABLE 1 |
| 12 | #define ESSA_SET_UNUSED 2 |
| 13 | #define ESSA_SET_VOLATILE 3 |
| 14 | #define ESSA_SET_POT_VOLATILE 4 |
| 15 | #define ESSA_SET_STABLE_RESIDENT 5 |
| 16 | #define ESSA_SET_STABLE_IF_RESIDENT 6 |
Martin Schwidefsky | c9b5ad5 | 2016-06-14 12:56:01 +0200 | [diff] [blame] | 17 | #define ESSA_SET_STABLE_NODAT 7 |
Claudio Imbrenda | 2d42f94 | 2017-04-20 10:03:45 +0200 | [diff] [blame] | 18 | |
Claudio Imbrenda | 1bab1c0 | 2016-08-29 15:56:55 +0200 | [diff] [blame] | 19 | #define ESSA_MAX ESSA_SET_STABLE_NODAT |
Claudio Imbrenda | 2d42f94 | 2017-04-20 10:03:45 +0200 | [diff] [blame] | 20 | |
| 21 | #endif |