diff options
| author | Dave Hansen <haveblue@us.ibm.com> | 2004-08-26 20:35:14 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-08-26 20:35:14 -0700 |
| commit | 3d5dc24c21c7240a1f38076786c70b466936a088 (patch) | |
| tree | 471f6e35ab2bf5655f0a4772c7d27eb2ee52e84e /arch/i386/mm/fault.c | |
| parent | 0d62f010d991a32153c23e7dad5283723b60c7f8 (diff) | |
[PATCH] call virt_to_page() with void*, not UL
I'm sure there's a good reason for these functions to take virtual addresses
as unsigned longs, so suppress the warnings and cast them to the proper types
before calling the virt/phys conversion functions
A perfectly acceptable alternative would be to go and change free_pages() to
stop taking unsigned longs for virtual addresses, but this has a much smaller
impact.
Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/i386/mm/fault.c')
0 files changed, 0 insertions, 0 deletions
