Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
2 | * Copyright (C) 2000 - 2003 Jeff Dike (jdike@addtoit.com) | ||||
Al Viro | 27f85f1 | 2011-08-18 20:02:59 +0100 | [diff] [blame] | 3 | * Copyright 2003 PathScale, Inc. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | * Licensed under the GPL |
5 | */ | ||||
6 | |||||
Al Viro | 27f85f1 | 2011-08-18 20:02:59 +0100 | [diff] [blame] | 7 | #ifndef __UM_ARCHPARAM_H |
8 | #define __UM_ARCHPARAM_H | ||||
9 | |||||
10 | #ifdef CONFIG_X86_32 | ||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | |
Al Viro | fe1cd98 | 2008-08-18 04:15:12 -0400 | [diff] [blame] | 12 | #ifdef CONFIG_X86_PAE |
13 | #define LAST_PKMAP 512 | ||||
14 | #else | ||||
15 | #define LAST_PKMAP 1024 | ||||
16 | #endif | ||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | |
18 | #endif | ||||
19 | |||||
Al Viro | 27f85f1 | 2011-08-18 20:02:59 +0100 | [diff] [blame] | 20 | #endif |