mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 06:31:52 +00:00
1da177e4c3
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
30 lines
446 B
C
30 lines
446 B
C
#ifndef __MMU_H
|
|
#define __MMU_H
|
|
|
|
#if !defined(CONFIG_MMU)
|
|
|
|
struct mm_rblock_struct {
|
|
int size;
|
|
int refcount;
|
|
void *kblock;
|
|
};
|
|
|
|
struct mm_tblock_struct {
|
|
struct mm_rblock_struct *rblock;
|
|
struct mm_tblock_struct *next;
|
|
};
|
|
|
|
typedef struct {
|
|
struct mm_tblock_struct tblock;
|
|
unsigned long end_brk;
|
|
} mm_context_t;
|
|
|
|
#else
|
|
|
|
/* Default "unsigned long" context */
|
|
typedef unsigned long mm_context_t;
|
|
|
|
#endif /* CONFIG_MMU */
|
|
#endif /* __MMH_H */
|
|
|