diff options
Diffstat (limited to 'arch/s390/mm/pgtable.c')
-rw-r--r-- | arch/s390/mm/pgtable.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/s390/mm/pgtable.c b/arch/s390/mm/pgtable.c index b2c1542f2ba2..33f589459113 100644 --- a/arch/s390/mm/pgtable.c +++ b/arch/s390/mm/pgtable.c | |||
@@ -27,14 +27,8 @@ | |||
27 | #include <asm/tlbflush.h> | 27 | #include <asm/tlbflush.h> |
28 | #include <asm/mmu_context.h> | 28 | #include <asm/mmu_context.h> |
29 | 29 | ||
30 | #ifndef CONFIG_64BIT | ||
31 | #define ALLOC_ORDER 1 | ||
32 | #define FRAG_MASK 0x0f | ||
33 | #else | ||
34 | #define ALLOC_ORDER 2 | 30 | #define ALLOC_ORDER 2 |
35 | #define FRAG_MASK 0x03 | 31 | #define FRAG_MASK 0x03 |
36 | #endif | ||
37 | |||
38 | 32 | ||
39 | unsigned long *crst_table_alloc(struct mm_struct *mm) | 33 | unsigned long *crst_table_alloc(struct mm_struct *mm) |
40 | { | 34 | { |
@@ -50,7 +44,6 @@ void crst_table_free(struct mm_struct *mm, unsigned long *table) | |||
50 | free_pages((unsigned long) table, ALLOC_ORDER); | 44 | free_pages((unsigned long) table, ALLOC_ORDER); |
51 | } | 45 | } |
52 | 46 | ||
53 | #ifdef CONFIG_64BIT | ||
54 | static void __crst_table_upgrade(void *arg) | 47 | static void __crst_table_upgrade(void *arg) |
55 | { | 48 | { |
56 | struct mm_struct *mm = arg; | 49 | struct mm_struct *mm = arg; |
@@ -140,7 +133,6 @@ void crst_table_downgrade(struct mm_struct *mm, unsigned long limit) | |||
140 | if (current->active_mm == mm) | 133 | if (current->active_mm == mm) |
141 | set_user_asce(mm); | 134 | set_user_asce(mm); |
142 | } | 135 | } |
143 | #endif | ||
144 | 136 | ||
145 | #ifdef CONFIG_PGSTE | 137 | #ifdef CONFIG_PGSTE |
146 | 138 | ||