Re: [PATCH] atomic_long_t & include/asm-generic/atomic.h V2

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

 



> > How about requiring that all 64-bit archs implement atomic64_t and do:
> 
> It may be reasonable to have 64 bit arches that are not 
> capable of 64 bit atomic ops. As far as I can remember sparc was initially
> a 32 bit platform without 32 bit atomic ops.

Why? I don't think we have any crippled 64bit platforms like this.
And if somebody wants to port linux to such a hypothetical crippled
64bit platform they can do the necessary work themselves.

Or just implement 64bit atomic_t with spinlocks.

-Andi
-
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