clear_user_page in page.h
Hi all,
I'm building the video4linux drivers as modules and the video-buf driver can't load as it has no reference to shm_align_mask and flush_data_cache_page.
These are needed by asm-mips/page.h for the inline funcs, pages_do_alias and clear/copy_user_page.
How should shm_align_mask and flush_data_cache_page. be exported to modules?
Most other asm-xxx/page.h doesn't need any externs, all is #defined within page.h or files included by it.
Any ideas how I deal with this? Presumably other modules will be affected by this.
Signature · 2 lines
[email protected] Digital Simplicity
Quoted 10 lines · JP Foster
Hi all,
I'm building the video4linux drivers as modules and the video-buf driver can't load as it has no reference toshm_align_maskandflush_data_cache_page.These are needed by
asm-mips/page.hfor the inline funcs,pages_do_aliasand clear/copy_user_page.
How shouldshm_align_maskandflush_data_cache_page. be exported to modules?
Quoted 5 lines
Most other
asm-xxx/page.hdoesn't need any externs, all is #defined withinpage.hor files included by it.Any ideas how I deal with this? Presumably other modules will be affected by this.
The code in question should be considered broken anyway but for the time being until this is actually fixed I'm going to add the two symbol exports.
Ralf
Great, that's what I did here.
When you say the code in question do you mean the v4l stuff or page.h?
Signature · 2 lines
[email protected] Digital Simplicity
Quoted 2 lines · JP Foster
Great, that's what I did here.
When you say the code in question do you mean the v4l stuff orpage.h?
Linux mm. The (brain-)damage goes beyond page.h.
Ralf