Skip to content
Snippets Groups Projects
Unverified Commit 49f5bcb1 authored by Marcin Ślusarz's avatar Marcin Ślusarz Committed by GitHub
Browse files

Merge pull request #4547 from marcinslusarz/x86-cpu

pmem: remove remnants of arm port from x86 arch code
parents da92aed2 644f75de
No related branches found
No related tags found
No related merge requests found
...@@ -3,10 +3,6 @@ ...@@ -3,10 +3,6 @@
/* /*
* cpu.c -- CPU features detection * cpu.c -- CPU features detection
*
* These routines do not work AARCH64 platforms, and need new detection
* routiones to be added. Currently to ensure msync is not used and ARM
* FLUSH instructions are used PMEM_IS_PMEM_FORCE=1 needs to be used.
*/ */
/* /*
...@@ -48,10 +44,9 @@ cpuid(unsigned func, unsigned subfunc, unsigned cpuinfo[4]) ...@@ -48,10 +44,9 @@ cpuid(unsigned func, unsigned subfunc, unsigned cpuinfo[4])
__cpuidex(cpuinfo, func, subfunc); __cpuidex(cpuinfo, func, subfunc);
} }
#else /* not x86_64 */ #else
#define cpuid(func, subfunc, cpuinfo)\ #error unsupported compiler
do { (void)(func); (void)(subfunc); (void)(cpuinfo); } while (0)
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment