Re: what is _RP ?
Dan Gora <[email protected]> Thu, 1 Sep 2005 14:20:11 -0700 (PDT)
| Newsgroups | gmane.linux.kernel.streams |
|---|---|
| Message-ID | <[email protected]> |
--- [email protected] wrote: > Dan Gora <[email protected]> wrote: > > > If you call a kernel function directly on a kernel > > which uses -mregparm=3, then it will crash since that called > > function's parameters will not be where the function expects them > to > > be. > > The problem is that I do call pci_register_driver() directly. > I do not see any LiS equivalent for that one. > Is there any? > No there is not but I don't think that you need it. I don't use it. I just use pci_enable_device, which is redef'd to an LiS function, lis_pci_enable_device. Do you really need pci_register_driver? dan