linux/tools/testing/radix-tree/linux/types.h
<<
>>
Prefs
   1#ifndef _TYPES_H
   2#define _TYPES_H
   3
   4#include "../../include/linux/types.h"
   5
   6#define __rcu
   7#define __read_mostly
   8
   9#define BITS_PER_LONG (sizeof(long) * 8)
  10
  11static inline void INIT_LIST_HEAD(struct list_head *list)
  12{
  13        list->next = list;
  14        list->prev = list;
  15}
  16
  17typedef struct {
  18        unsigned int x;
  19} spinlock_t;
  20
  21#define uninitialized_var(x) x = x
  22
  23#include <linux/gfp.h>
  24
  25#endif
  26