Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11730 - i810_dma.c do_munmap compilation failure
Summary: i810_dma.c do_munmap compilation failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High blocker
Assignee: Brandon Low (RETIRED)
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-07 11:45 UTC by Ian Goldby
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Goldby 2002-12-07 11:45:08 UTC
linux-2.4.19-gentoo-r10  
  
The call to do_munmap() on line 234 of  drivers/char/drm/i810_dma.c should  
have an extra parameter, otherwise it won't compile. As far as I can see (I  
could be wrong) the call should be:  
  
retcode = do_munmap(current->mm, (unsigned long)buf_priv->virtual, (size_t)  
buf->total, 1);  
  
i.e. add 1 as the 4th parameter.
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2002-12-09 17:04:20 UTC
maybe this could fix #7712 
Comment 2 Brandon Low (RETIRED) gentoo-dev 2002-12-09 17:05:49 UTC
yeah, thanks... did this in all needed places in -r9 and -r10, remerge and test
please.
Comment 3 Ian Goldby 2002-12-09 17:25:47 UTC
I confirm that the proposed fix works - I've been using it for the last few 
days. But I really don't want to remerge right at the moment just when 
everything is stable and working and I don't have a spare machine to try it 
on! Sorry. Can someone else do it? 
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2002-12-10 08:25:18 UTC
i wish i could update here (behind proxy) but daily snapshot is missing since 
27.11.02 :(