Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 42696
b: refs/heads/master
c: 1b1cec4
h: refs/heads/master
v: v3
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Dec 7, 2006
1 parent 8495ead commit 7d7be6a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 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: e18b890bb0881bbab6f4f1a6cd20d9c60d66b003
refs/heads/master: 1b1cec4bbc59feac89670d5d6d222a02545bac94
17 changes: 9 additions & 8 deletions trunk/include/linux/slab.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,17 @@
#ifndef _LINUX_SLAB_H
#define _LINUX_SLAB_H

#if defined(__KERNEL__)
#ifdef __KERNEL__

/* kmem_cache_t exists for legacy reasons and is not used by code in mm */
typedef struct kmem_cache kmem_cache_t;
#include <linux/gfp.h>
#include <linux/init.h>
#include <linux/types.h>
#include <asm/page.h> /* kmalloc_sizes.h needs PAGE_SIZE */
#include <asm/cache.h> /* kmalloc_sizes.h needs L1_CACHE_BYTES */
#include <linux/compiler.h>

#include <linux/gfp.h>
#include <linux/init.h>
#include <linux/types.h>
#include <asm/page.h> /* kmalloc_sizes.h needs PAGE_SIZE */
#include <asm/cache.h> /* kmalloc_sizes.h needs L1_CACHE_BYTES */
/* kmem_cache_t exists for legacy reasons and is not used by code in mm */
typedef struct kmem_cache kmem_cache_t __deprecated;

/* flags to pass to kmem_cache_create().
* The first 3 are only valid when the allocator as been build
Expand Down

0 comments on commit 7d7be6a

Please sign in to comment.