64-bit CDEV_POS

Change-Id: Iecdadf3dd92cc14525961976f51a9eb16a996d62
This commit is contained in:
Ben Gras
2014-02-24 17:30:31 +01:00
committed by Lionel Sambuc
parent 3f3e78ef59
commit 273c51a7d1
3 changed files with 3 additions and 5 deletions

View File

@@ -322,7 +322,7 @@ static int do_transfer(struct chardriver *cdp, message *m_ptr, int do_write)
ssize_t r;
minor = m_ptr->CDEV_MINOR;
position = make64(m_ptr->CDEV_POS_LO, m_ptr->CDEV_POS_HI);
position = m_ptr->CDEV_POS;
endpt = m_ptr->m_source;
grant = (cp_grant_id_t) m_ptr->CDEV_GRANT;
size = m_ptr->CDEV_COUNT;