Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 10475
b: refs/heads/master
c: 04d472d
h: refs/heads/master
i:
  10473: 64438f8
  10471: a4430ae
v: v3
  • Loading branch information
Grant Grundler authored and Kyle McMartin committed Oct 22, 2005
1 parent ac38374 commit 4cafb43
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 20 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: 896a375623c3643a3f189353e7d4828c48a7fdf8
refs/heads/master: 04d472dc83388c59deb6241e9aed841926aa1c8c
19 changes: 0 additions & 19 deletions trunk/include/asm-parisc/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -164,25 +164,6 @@ static inline void set_eiem(unsigned long val)
#endif

#define KERNEL_START (0x10100000 - 0x1000)

/* This is for the serialisation of PxTLB broadcasts. At least on the
* N class systems, only one PxTLB inter processor broadcast can be
* active at any one time on the Merced bus. This tlb purge
* synchronisation is fairly lightweight and harmless so we activate
* it on all SMP systems not just the N class. */
#ifdef CONFIG_SMP
extern spinlock_t pa_tlb_lock;

#define purge_tlb_start(x) spin_lock(&pa_tlb_lock)
#define purge_tlb_end(x) spin_unlock(&pa_tlb_lock)

#else

#define purge_tlb_start(x) do { } while(0)
#define purge_tlb_end(x) do { } while (0)

#endif

#define arch_align_stack(x) (x)

#endif
20 changes: 20 additions & 0 deletions trunk/include/asm-parisc/tlbflush.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,26 @@
#include <linux/mm.h>
#include <asm/mmu_context.h>


/* This is for the serialisation of PxTLB broadcasts. At least on the
* N class systems, only one PxTLB inter processor broadcast can be
* active at any one time on the Merced bus. This tlb purge
* synchronisation is fairly lightweight and harmless so we activate
* it on all SMP systems not just the N class. */
#ifdef CONFIG_SMP
extern spinlock_t pa_tlb_lock;

#define purge_tlb_start(x) spin_lock(&pa_tlb_lock)
#define purge_tlb_end(x) spin_unlock(&pa_tlb_lock)

#else

#define purge_tlb_start(x) do { } while(0)
#define purge_tlb_end(x) do { } while (0)

#endif


extern void flush_tlb_all(void);

/*
Expand Down

0 comments on commit 4cafb43

Please sign in to comment.