[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:
parent
4c27484934
commit
f57d153e2e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user