[PowerPC] Fix powerpcspe build failure after r360569

On powerpcspe, vm_paddr_t is 64 bit despite it being a 32 bit platform.
Adjust compile time assertion to compensate.
This commit is contained in:
Brandon Bergren 2020-05-07 17:58:07 +00:00
parent 4c27484934
commit f57d153e2e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=360788

View File

@ -167,8 +167,13 @@ CTASSERT(sizeof(struct m_ext) == 160);
#else
CTASSERT(offsetof(struct mbuf, m_dat) == 24);
CTASSERT(sizeof(struct pkthdr) == 48);
#if defined(__powerpc__) && defined(BOOKE)
/* PowerPC booke has 64-bit physical pointers. */
CTASSERT(sizeof(struct m_ext) == 184);
#else
CTASSERT(sizeof(struct m_ext) == 180);
#endif
#endif
/*
* Assert that the queue(3) macros produce code of the same size as an old