diff options
Diffstat (limited to 'include/asm-powerpc/hvcserver.h')
| -rw-r--r-- | include/asm-powerpc/hvcserver.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-powerpc/hvcserver.h b/include/asm-powerpc/hvcserver.h index aecba9665796..67d7da3a4da4 100644 --- a/include/asm-powerpc/hvcserver.h +++ b/include/asm-powerpc/hvcserver.h | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | 21 | ||
| 22 | #ifndef _PPC64_HVCSERVER_H | 22 | #ifndef _PPC64_HVCSERVER_H |
| 23 | #define _PPC64_HVCSERVER_H | 23 | #define _PPC64_HVCSERVER_H |
| 24 | #ifdef __KERNEL__ | ||
| 24 | 25 | ||
| 25 | #include <linux/list.h> | 26 | #include <linux/list.h> |
| 26 | 27 | ||
| @@ -54,4 +55,5 @@ extern int hvcs_register_connection(uint32_t unit_address, | |||
| 54 | uint32_t p_partition_ID, uint32_t p_unit_address); | 55 | uint32_t p_partition_ID, uint32_t p_unit_address); |
| 55 | extern int hvcs_free_connection(uint32_t unit_address); | 56 | extern int hvcs_free_connection(uint32_t unit_address); |
| 56 | 57 | ||
| 58 | #endif /* __KERNEL__ */ | ||
| 57 | #endif /* _PPC64_HVCSERVER_H */ | 59 | #endif /* _PPC64_HVCSERVER_H */ |
