~ubuntu-branches/ubuntu/lucid/linux-rt/lucid

« back to all changes in this revision

Viewing changes to arch/parisc/include/asm/page.h

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich
  • Date: 2009-08-05 23:00:52 UTC
  • Revision ID: james.westby@ubuntu.com-20090805230052-7xedvqcyk9dnnxb2
Tags: 2.6.31-1.1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
 */
37
37
#define STRICT_MM_TYPECHECKS
38
38
#ifdef STRICT_MM_TYPECHECKS
39
 
typedef struct { unsigned long pte;
40
 
#if !defined(CONFIG_64BIT)
41
 
                 unsigned long future_flags;
42
 
 /* XXX: it's possible to remove future_flags and change BITS_PER_PTE_ENTRY
43
 
         to 2, but then strangely the identical 32bit kernel boots on a
44
 
         c3000(pa20), but not any longer on a 715(pa11).
45
 
         Still investigating... HelgeD.
46
 
  */
47
 
#endif
48
 
} pte_t; /* either 32 or 64bit */
 
39
typedef struct { unsigned long pte; } pte_t; /* either 32 or 64bit */
49
40
 
50
41
/* NOTE: even on 64 bits, these entries are __u32 because we allocate
51
42
 * the pmd and pgd in ZONE_DMA (i.e. under 4GB) */
111
102
#define BITS_PER_PMD_ENTRY      2
112
103
#define BITS_PER_PGD_ENTRY      2
113
104
#else
114
 
#define BITS_PER_PTE_ENTRY      3
 
105
#define BITS_PER_PTE_ENTRY      2
115
106
#define BITS_PER_PMD_ENTRY      2
116
107
#define BITS_PER_PGD_ENTRY      BITS_PER_PMD_ENTRY
117
108
#endif
168
159
                                 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)
169
160
 
170
161
#include <asm-generic/memory_model.h>
171
 
#include <asm-generic/page.h>
 
162
#include <asm-generic/getorder.h>
172
163
 
173
164
#endif /* _PARISC_PAGE_H */