diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1997-07-20 13:57:05 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1997-07-20 13:57:05 +0000 |
commit | 20b20c18b4c4758323f771b47bd01bb7b3cf5733 (patch) | |
tree | 514262e8ab0b94e139091f789ace6f8091396725 | |
parent | 628c1afc4c0b22190f282a403e8df153093d445d (diff) |
Change the definition of VDMA_PAGE_EMPTY to 0xff000000. This fixes
the bug that the first allocated virtual address space might be
allocated again.
-rw-r--r-- | include/asm-mips/jazzdma.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-mips/jazzdma.h b/include/asm-mips/jazzdma.h index c7f1730cf..6519a1cef 100644 --- a/include/asm-mips/jazzdma.h +++ b/include/asm-mips/jazzdma.h @@ -28,7 +28,7 @@ int vdma_get_residue(int channel); #define VDMA_PAGESIZE 4096 #define VDMA_PGTBL_ENTRIES 4096 #define VDMA_PGTBL_SIZE (sizeof(VDMA_PGTBL_ENTRY) * VDMA_PGTBL_ENTRIES) -#define VDMA_PAGE_EMPTY 0 +#define VDMA_PAGE_EMPTY 0xff000000 /* * Macros to get page no. and offset of a given address |