~ubuntu-branches/debian/experimental/linux-tools/experimental

« back to all changes in this revision

Viewing changes to arch/arm64/include/asm/pgtable-2level-hwdef.h

  • Committer: Package Import Robot
  • Author(s): Ben Hutchings
  • Date: 2014-02-02 16:57:49 UTC
  • mfrom: (1.1.10) (0.1.21 sid)
  • Revision ID: package-import@ubuntu.com-20140202165749-tw94o9t1t0a8txk6
Tags: 3.13-1~exp2
Merge changes from sid up to 3.12.6-3

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 * 8192 entries of 8 bytes each, occupying a 64KB page. Levels 0 and 1 are not
22
22
 * used. The 2nd level table (PGD for Linux) can cover a range of 4TB, each
23
23
 * entry representing 512MB. The user and kernel address spaces are limited to
24
 
 * 512GB and therefore we only use 1024 entries in the PGD.
 
24
 * 4TB in the 64KB page configuration.
25
25
 */
26
26
#define PTRS_PER_PTE            8192
27
 
#define PTRS_PER_PGD            1024
 
27
#define PTRS_PER_PGD            8192
28
28
 
29
29
/*
30
30
 * PGDIR_SHIFT determines the size a top-level page table entry can map.