• Austin Clements's avatar
    Redesign percpu<> const-ness and general percpu cleanup · 2743888d
    Austin Clements 提交于
    percpu acts like a T* const, so a const percpu should (also) be like a
    T* const, *not* like a const T*, which is what the code previously did
    (remember, C types are inside-out!  except when they aren't).  This,
    for example, makes it sane to pass a const percpu reference.
    
    This also makes percpu non-copyable and non-assignable and makes stuff
    private.
    2743888d
percpu.hh 834 Bytes