On Tue, 15 May 2007 21:42:35 +1000 Stephen Rothwell <[email protected]> wrote: > > On Tue, 15 May 2007 11:17:07 +1000 Rusty Russell <[email protected]> wrote: > > > > @@ -420,7 +421,7 @@ static int __init init(void) > > lock_cpu_hotplug(); > > if (cpu_has_pge) { /* We have a broader idea of "global". */ > > cpu_had_pge = 1; > > - on_each_cpu(adjust_pge, 0, 0, 1); > > + on_each_cpu(adjust_pge, (void *)0, 0, 1); > > Sorry? What ever happened to a simple NULL? Oh, I guess that is an explicit (numeric) 0 (of some type) caste to "void *" because of the prototype - rather than not passing anything? -- Cheers, Stephen Rothwell [email protected] http://www.canb.auug.org.au/~sfr/
Attachment:
pgpYhMn1uh9cl.pgp
Description: PGP signature
- Follow-Ups:
- Re: [PATCH 1/6] lguest: host code tidyups
- From: Rusty Russell <[email protected]>
- Re: [PATCH 1/6] lguest: host code tidyups
- References:
- [PATCH 1/6] lguest: host code tidyups
- From: Rusty Russell <[email protected]>
- Re: [PATCH 1/6] lguest: host code tidyups
- From: Stephen Rothwell <[email protected]>
- [PATCH 1/6] lguest: host code tidyups
- Prev by Date: Re: IT821x: no DMA since 2.6.21
- Next by Date: [PATCH 0/2] PCI-X/PCI-Express read control interfaces
- Previous by thread: Re: [PATCH 1/6] lguest: host code tidyups
- Next by thread: Re: [PATCH 1/6] lguest: host code tidyups
- Index(es):