Skip to content
Snippets Groups Projects
Commit 7794d411 authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

solaris: define ptob using PAGE_SIZE instead of PAGE_SHIFT

parent 13bd4625
No related branches found
No related tags found
No related merge requests found
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#define PAGESIZE PAGE_SIZE #define PAGESIZE PAGE_SIZE
#ifdef _KERNEL #ifdef _KERNEL
#define ptob(x) ((uint64_t)(x) << PAGE_SHIFT) #define ptob(x) ((uint64_t)(x) * PAGE_SIZE)
#endif #endif
#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