Make this at least compile on 64 bit platforms. Its been breaking
the alpha tinderbox for far too long.
This commit is contained in:
parent
770086e47b
commit
4c672cfa18
@ -140,7 +140,8 @@ static __inline struct ecb*
|
||||
ahbecbptov(struct ahb_softc *ahb, u_int32_t ecb_addr)
|
||||
{
|
||||
return (ahb->ecb_array
|
||||
+ ((struct ecb*)ecb_addr - (struct ecb*)ahb->ecb_physbase));
|
||||
+ ((struct ecb*)(uintptr_t)ecb_addr
|
||||
- (struct ecb*)(uintptr_t)ahb->ecb_physbase));
|
||||
}
|
||||
|
||||
static __inline u_int32_t
|
||||
|
Loading…
Reference in New Issue
Block a user