Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 117430
b: refs/heads/master
c: fe1cd98
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro authored and H. Peter Anvin committed Oct 23, 2008
1 parent f1681c1 commit d1486a8
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 18 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ff64b4c18624ca545dd360c4fa65334d19ee7b6f
refs/heads/master: fe1cd9876fa6250a8eb3ae138917a2040eca2c47
10 changes: 5 additions & 5 deletions trunk/arch/um/include/asm/archparam-i386.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
#ifndef __UM_ARCHPARAM_I386_H
#define __UM_ARCHPARAM_I386_H

/********* Nothing for asm-um/hardirq.h **********/

/********* Nothing for asm-um/hw_irq.h **********/

/********* Nothing for asm-um/string.h **********/
#ifdef CONFIG_X86_PAE
#define LAST_PKMAP 512
#else
#define LAST_PKMAP 1024
#endif

#endif

Expand Down
1 change: 1 addition & 0 deletions trunk/arch/um/include/asm/fixmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include <asm/kmap_types.h>
#include <asm/archparam.h>
#include <asm/page.h>
#include <linux/threads.h>

/*
* Here we define all the compile-time 'special' virtual
Expand Down
12 changes: 0 additions & 12 deletions trunk/arch/um/include/asm/highmem.h

This file was deleted.

8 changes: 8 additions & 0 deletions trunk/arch/um/include/asm/pgtable.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ extern unsigned long end_iomem;

#define VMALLOC_OFFSET (__va_space)
#define VMALLOC_START ((end_iomem + VMALLOC_OFFSET) & ~(VMALLOC_OFFSET-1))
#define PKMAP_BASE ((FIXADDR_START - LAST_PKMAP * PAGE_SIZE) & PMD_MASK)
#ifdef CONFIG_HIGHMEM
# define VMALLOC_END (PKMAP_BASE-2*PAGE_SIZE)
#else
Expand Down Expand Up @@ -355,4 +356,11 @@ extern pte_t *virt_to_pte(struct mm_struct *mm, unsigned long addr);

#include <asm-generic/pgtable.h>

/* Clear a kernel PTE and flush it from the TLB */
#define kpte_clear_flush(ptep, vaddr) \
do { \
pte_clear(&init_mm, (vaddr), (ptep)); \
__flush_tlb_one((vaddr)); \
} while (0)

#endif

0 comments on commit d1486a8

Please sign in to comment.