Re: [PATCH 08/29] Disintegrate asm/system.h for C6X

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

 



On Wed, 2012-03-07 at 21:36 +0000, David Howells wrote:
> Mark Salter <msalter@xxxxxxxxxx> wrote:
> 
> > > Disintegrate asm/system.h for C6X.  Not compiled.  Appears to be missing
> > > asm/atomic.h and asm/bug.h.
> > 
> > Not missing. C6X uses the asm-generic versions which makes me think that
> > at least the atomic.h and barrier.h bits could have reasonable generic
> > versions for UP-only systems.
> 
> How does this work?  Looking at linux/atomic.h, it should fail to build as
> pretty much the first thing it does is include asm/atomic.h - which doesn't
> exist for C6X.  Shouldn't it at least have a #inclusion to the asm-generic
> header?

Kbuild takes care of it. See arch/c6x/include/Kbuild for the generic
headers C6X uses as-is.



--
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux