diff options
Diffstat (limited to 'arch/powerpc/include/asm/hvcall.h')
-rw-r--r-- | arch/powerpc/include/asm/hvcall.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/hvcall.h b/arch/powerpc/include/asm/hvcall.h index 0975e5c0bb19..4bc2c3dad6ad 100644 --- a/arch/powerpc/include/asm/hvcall.h +++ b/arch/powerpc/include/asm/hvcall.h | |||
@@ -395,6 +395,15 @@ static inline unsigned long cmo_get_page_size(void) | |||
395 | { | 395 | { |
396 | return CMO_PageSize; | 396 | return CMO_PageSize; |
397 | } | 397 | } |
398 | |||
399 | extern long pSeries_enable_reloc_on_exc(void); | ||
400 | extern long pSeries_disable_reloc_on_exc(void); | ||
401 | |||
402 | #else | ||
403 | |||
404 | #define pSeries_enable_reloc_on_exc() do {} while (0) | ||
405 | #define pSeries_disable_reloc_on_exc() do {} while (0) | ||
406 | |||
398 | #endif /* CONFIG_PPC_PSERIES */ | 407 | #endif /* CONFIG_PPC_PSERIES */ |
399 | 408 | ||
400 | #endif /* __ASSEMBLY__ */ | 409 | #endif /* __ASSEMBLY__ */ |