Re: [PATCH 1/4] msi archetecture init hook

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 21, 2005 at 11:53:46AM -0700, Matthew Wilcox wrote:
> On Wed, Dec 21, 2005 at 12:42:36PM -0600, Mark Maule wrote:
> > Index: msi/include/asm-sparc/msi.h
> > ===================================================================
> > --- msi.orig/include/asm-sparc/msi.h	2005-12-13 12:22:42.785246074 -0600
> > +++ msi/include/asm-sparc/msi.h	2005-12-13 16:09:49.194541334 -0600
> > @@ -28,4 +28,6 @@
> >  			      "i" (ASI_M_CTL), "r" (MSI_ASYNC_MODE) : "g3");
> >  }
> >  
> > +static inline int msi_arch_init(void)	{ return 0; }
> > +
> >  #endif /* !(_SPARC_MSI_H) */
> 
> As far as I can tell, you can't select MSI on Sparc, so this doesn't
> need to be here ...

Ok.  I'm a little confused on why we have asm-sparc/msi.h then.  Should I
yank it, or leave it for consistency and return -EINVAL so pci_enable_msi()
could fail somewhat gracefully on sparc ?

Mark
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux