diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1999-07-22 01:58:28 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1999-07-22 01:58:28 +0000 |
commit | 4491c31cc9d5031d755f5d897ff3bd4ea5f137b5 (patch) | |
tree | 91f260979446ec6822169a6de450586e6286a337 | |
parent | a2b759bd20319fc590e3f13cc3f24ad21d02b025 (diff) |
Burn memory corruption bug on the main branch as well.
-rw-r--r-- | include/asm-mips/pgtable.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/asm-mips/pgtable.h b/include/asm-mips/pgtable.h index 521778afb..2a85a1617 100644 --- a/include/asm-mips/pgtable.h +++ b/include/asm-mips/pgtable.h @@ -1,4 +1,4 @@ -/* $Id: pgtable.h,v 1.18 1999/02/15 02:22:11 ralf Exp $ +/* $Id: pgtable.h,v 1.19 1999/06/13 16:35:53 ralf Exp $ * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive @@ -580,9 +580,9 @@ extern void (*update_mmu_cache)(struct vm_area_struct *vma, /* * Kernel with 32 bit address space */ -#define SWP_TYPE(entry) (((entry) >> 1) & 0x3f) -#define SWP_OFFSET(entry) ((entry) >> 8) -#define SWP_ENTRY(type,offset) (((type) << 1) | ((offset) << 8)) +#define SWP_TYPE(entry) (((entry) >> 8) & 0x7f) +#define SWP_OFFSET(entry) ((entry) >> 15) +#define SWP_ENTRY(type,offset) (((type) << 8) | ((offset) << 15)) #define module_map vmalloc #define module_unmap vfree |