~ubuntu-branches/ubuntu/utopic/xen/utopic

« back to all changes in this revision

Viewing changes to unmodified_drivers/linux-2.6/compat-include/asm-generic/pgtable-nopud.h

  • Committer: Bazaar Package Importer
  • Author(s): Bastian Blank
  • Date: 2010-05-06 15:47:38 UTC
  • mto: (1.3.1) (15.1.1 sid) (4.1.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20100506154738-agoz0rlafrh1fnq7
Tags: upstream-4.0.0
ImportĀ upstreamĀ versionĀ 4.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _PGTABLE_NOPUD_H
 
2
#define _PGTABLE_NOPUD_H
 
3
 
 
4
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,11)
 
5
#error "This version of Linux should not need compat pgtable-nopud.h"
 
6
#endif
 
7
 
 
8
#define pud_t             pgd_t
 
9
#define pud_offset(d, va)     d
 
10
#define pud_none(pud)         0
 
11
#define pud_present(pud)      1
 
12
#define pud_bad(pud)          0
 
13
#define PTRS_PER_PUD          1
 
14
 
 
15
#endif /* _PGTABLE_NOPUD_H */