[BACK]Return to mmu.h CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs / include / asm-m32r

File: [Development] / linux-2.6-xfs / include / asm-m32r / mmu.h (download)

Revision 1.2, Fri Mar 4 14:41:21 2005 UTC (12 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.1: +0 -0 lines

Merge up to 2.6.11
Merge of 2.6.x-xfs-melb:linux:21721a by kenmcd.

#ifndef _ASM_M32R_MMU_H
#define _ASM_M32R_MMU_H

/* $Id: mmu.h,v 1.2 2005/03/04 14:41:21 nathans.longdrop.melbourne.sgi.com Exp $ */

#include <linux/config.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 */
#ifndef CONFIG_SMP
typedef unsigned long mm_context_t;
#else
typedef unsigned long mm_context_t[NR_CPUS];
#endif

#endif  /* CONFIG_MMU */
#endif  /* _ASM_M32R_MMU_H */