Ignore:
Timestamp:
Jan 3, 2021, 7:20:20 AM (5 years ago)
Author:
Paul Smedley
Message:

Code cleanups to simplify future maintenance, update regmap/regcache/rbtree to linux 4.19.163 level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/uniaud32-next/include/linux/rbtree.h

    r615 r625  
    2626  See Documentation/rbtree.txt for documentation and samples.
    2727*/
    28 /* from 4.14.202 */
     28/* from 4.19.163 */
    2929
    3030#ifndef _LINUX_RBTREE_H
     
    3535//#include <linux/rcupdate.h>
    3636
    37 #ifdef TARGET_OS2
    38 #pragma pack(4)
    39 #endif
    4037struct rb_node {
    4138        unsigned long  __rb_parent_color;
    4239        struct rb_node *rb_right;
    4340        struct rb_node *rb_left;
    44 #ifndef TARGET_OS2
    45 } __attribute__((aligned(sizeof(long))));
    46 #else
    47 };
    48 #pragma pack()
    49 #endif
     41} /*__attribute__((aligned(sizeof(long))))*/;
    5042    /* The alignment might seem pointless, but allegedly CRIS needs it */
    5143
     
    109101extern void rb_replace_node_rcu(struct rb_node *victim, struct rb_node *new,
    110102                                struct rb_root *root);
     103extern void rb_replace_node_cached(struct rb_node *victim, struct rb_node *new,
     104                                   struct rb_root_cached *root);
    111105
    112106static inline void rb_link_node(struct rb_node *node, struct rb_node *parent,
Note: See TracChangeset for help on using the changeset viewer.