mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 14:48:57 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=118225
@ -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