Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 207169
b: refs/heads/master
c: de5d9bf
h: refs/heads/master
i:
  207167: 627dc00
v: v3
  • Loading branch information
Chris Metcalf committed Jul 6, 2010
1 parent e4b49d4 commit ec8595a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b51cae21ee66f77a368428e6bdf75a0c012c9fd7
refs/heads/master: de5d9bf6541736dc7ad264d2b5cc99bc1b2ad958
13 changes: 1 addition & 12 deletions trunk/include/linux/list.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#ifndef _LINUX_LIST_H
#define _LINUX_LIST_H

#include <linux/types.h>
#include <linux/stddef.h>
#include <linux/poison.h>
#include <linux/prefetch.h>
Expand All @@ -16,10 +17,6 @@
* using the generic single-entry routines.
*/

struct list_head {
struct list_head *next, *prev;
};

#define LIST_HEAD_INIT(name) { &(name), &(name) }

#define LIST_HEAD(name) \
Expand Down Expand Up @@ -551,14 +548,6 @@ static inline void list_splice_tail_init(struct list_head *list,
* You lose the ability to access the tail in O(1).
*/

struct hlist_head {
struct hlist_node *first;
};

struct hlist_node {
struct hlist_node *next, **pprev;
};

#define HLIST_HEAD_INIT { .first = NULL }
#define HLIST_HEAD(name) struct hlist_head name = { .first = NULL }
#define INIT_HLIST_HEAD(ptr) ((ptr)->first = NULL)
Expand Down
12 changes: 12 additions & 0 deletions trunk/include/linux/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,18 @@ typedef struct {
} atomic64_t;
#endif

struct list_head {
struct list_head *next, *prev;
};

struct hlist_head {
struct hlist_node *first;
};

struct hlist_node {
struct hlist_node *next, **pprev;
};

struct ustat {
__kernel_daddr_t f_tfree;
__kernel_ino_t f_tinode;
Expand Down

0 comments on commit ec8595a

Please sign in to comment.