diff options
Diffstat (limited to 'physmap.c')
-rw-r--r-- | physmap.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -363,6 +363,7 @@ void *physmap_ro_unaligned(const char *descr, uintptr_t phys_addr, size_t len) return physmap_common(descr, phys_addr, len, PHYSM_RO, PHYSM_NOCLEANUP, PHYSM_EXACT); } +#if CONFIG_INTERNAL == 1 /* MSR abstraction implementations for Linux, OpenBSD, FreeBSD/Dragonfly, OSX, libpayload * and a non-working default implementation on the bottom. See also hwaccess.h for some (re)declarations. */ #if defined(__i386__) || defined(__x86_64__) @@ -687,3 +688,4 @@ void cleanup_cpu_msr(void) #else // x86 /* Does MSR exist on non-x86 architectures? */ #endif // arch switches for MSR code +#endif // CONFIG_INTERNAL == 1 |