fix: 把内核恢复成 GitHub 原版
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
#ifndef ARRAY_SIZE_H
|
||||
#define ARRAY_SIZE_H
|
||||
|
||||
/**
|
||||
* ARRAY_SIZE - get the number of elements in array @arr
|
||||
* @arr: array to be sized
|
||||
*/
|
||||
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
|
||||
|
||||
#endif /* ARRAY_SIZE_H */
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
#ifndef ARRAY_SIZE_H
|
||||
#define ARRAY_SIZE_H
|
||||
|
||||
/**
|
||||
* ARRAY_SIZE - get the number of elements in array @arr
|
||||
* @arr: array to be sized
|
||||
*/
|
||||
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
|
||||
|
||||
#endif /* ARRAY_SIZE_H */
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
#ifndef LIST_TYPES_H
|
||||
#define LIST_TYPES_H
|
||||
|
||||
struct list_head {
|
||||
struct list_head *next, *prev;
|
||||
};
|
||||
|
||||
struct hlist_head {
|
||||
struct hlist_node *first;
|
||||
};
|
||||
|
||||
struct hlist_node {
|
||||
struct hlist_node *next, **pprev;
|
||||
};
|
||||
|
||||
#endif /* LIST_TYPES_H */
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
#ifndef LIST_TYPES_H
|
||||
#define LIST_TYPES_H
|
||||
|
||||
struct list_head {
|
||||
struct list_head *next, *prev;
|
||||
};
|
||||
|
||||
struct hlist_head {
|
||||
struct hlist_node *first;
|
||||
};
|
||||
|
||||
struct hlist_node {
|
||||
struct hlist_node *next, **pprev;
|
||||
};
|
||||
|
||||
#endif /* LIST_TYPES_H */
|
||||
|
||||
Reference in New Issue
Block a user