Unbreak the 32-bit powerpc builds

Force unsigned integer usage by casting to vm_offset_t, to avoid integer
overflow, from r358305
This commit is contained in:
Justin Hibbits 2020-02-25 02:42:43 +00:00
parent 0b2f25287c
commit d029e3b3f7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=358306

View File

@ -233,7 +233,7 @@ uint32_t tlb1_entries;
#define VM_MAPDEV_BASE 0x8000000000000000
#define VM_MAPDEV_PA_MAX 0x4000000000000000 /* Don't encroach on DMAP */
#else
#define VM_MAPDEV_BASE (VM_MAXUSER_ADDRESS + PAGE_SIZE)
#define VM_MAPDEV_BASE ((vm_offset_t)VM_MAXUSER_ADDRESS + PAGE_SIZE)
#endif
static vm_offset_t tlb1_map_base = VM_MAPDEV_BASE;