Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 250890
b: refs/heads/master
c: 1c39517
h: refs/heads/master
v: v3
  • Loading branch information
Peter Zijlstra authored and Linus Torvalds committed May 25, 2011
1 parent bb66141 commit 7cb7e17
Show file tree
Hide file tree
Showing 22 changed files with 1 addition and 42 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: ff075d605511784c79cbf0ae73d90e07238267b3
refs/heads/master: 1c395176962176660bb108f90e97e1686cfe0d85
2 changes: 0 additions & 2 deletions trunk/arch/alpha/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@
#include <asm/console.h>
#include <asm/tlb.h>

DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);

extern void die_if_kernel(char *,struct pt_regs *,long);

static struct pcb_struct original_pcb;
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/arm/mm/mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@

#include "mm.h"

DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);

/*
* empty_zero_page is a special page that is used for
* zero-initialized data and COW.
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/avr32/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
#include <asm/setup.h>
#include <asm/sections.h>

DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);

pgd_t swapper_pg_dir[PTRS_PER_PGD] __page_aligned_data;

struct page *empty_zero_page;
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/cris/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
#include <linux/bootmem.h>
#include <asm/tlb.h>

DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);

unsigned long empty_zero_page;

extern char _stext, _edata, _etext; /* From linkerscript */
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/frv/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@

#undef DEBUG

DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);

/*
* BAD_PAGE is the page that is used for page faults when linux
* is out-of-memory. Older versions of linux just did a
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/ia64/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@
#include <asm/mca.h>
#include <asm/paravirt.h>

DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);

extern void ia64_tlb_init (void);

unsigned long MAX_DMA_ADDRESS = PAGE_OFFSET + 0x100000000UL;
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/m32r/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ extern char __init_begin, __init_end;

pgd_t swapper_pg_dir[1024];

DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);

/*
* Cache of MMU context last used.
*/
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/m68k/mm/init_mm.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@
#include <asm/sections.h>
#include <asm/tlb.h>

DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);

pg_data_t pg_data_map[MAX_NUMNODES];
EXPORT_SYMBOL(pg_data_map);

Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/microblaze/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ unsigned int __page_offset;
EXPORT_SYMBOL(__page_offset);

#else
DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);

static int init_bootmem_done;
#endif /* CONFIG_MMU */

Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/mips/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@

#endif /* CONFIG_MIPS_MT_SMTC */

DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);

/*
* We have up to 8 empty zeroed pages so we can map one of the right colour
* when needed. This is necessary only on R4000 / R4400 SC and MC versions
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/mn10300/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@
#include <asm/tlb.h>
#include <asm/sections.h>

DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);

unsigned long highstart_pfn, highend_pfn;

#ifdef CONFIG_MN10300_HAS_ATOMIC_OPS_UNIT
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/parisc/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@
#include <asm/mmzone.h>
#include <asm/sections.h>

DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);

extern int data_start;

#ifdef CONFIG_DISCONTIGMEM
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/s390/mm/pgtable.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ struct rcu_table_freelist {
((PAGE_SIZE - sizeof(struct rcu_table_freelist)) \
/ sizeof(unsigned long))

DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);
static DEFINE_PER_CPU(struct rcu_table_freelist *, rcu_table_freelist);

static void __page_table_free(struct mm_struct *mm, unsigned long *table);
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/score/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@
#include <asm/sections.h>
#include <asm/tlb.h>

DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);

unsigned long empty_zero_page;
EXPORT_SYMBOL_GPL(empty_zero_page);

Expand Down
1 change: 0 additions & 1 deletion trunk/arch/sh/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include <asm/cache.h>
#include <asm/sizes.h>

DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);
pgd_t swapper_pg_dir[PTRS_PER_PGD];

void __init generic_mem_init(void)
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/sparc/mm/init_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@
#include <asm/prom.h>
#include <asm/leon.h>

DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);

unsigned long *sparc_valid_addr_bitmap;
EXPORT_SYMBOL(sparc_valid_addr_bitmap);

Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/tile/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ unsigned long VMALLOC_RESERVE = CONFIG_VMALLOC_RESERVE;
EXPORT_SYMBOL(VMALLOC_RESERVE);
#endif

DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);

/* Create an L2 page table */
static pte_t * __init alloc_pte(void)
{
Expand Down
3 changes: 0 additions & 3 deletions trunk/arch/um/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
#include "asm/pgalloc.h"
#include "asm/tlb.h"

/* For some reason, mmu_gathers are referenced when CONFIG_SMP is off. */
DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);

#ifdef CONFIG_SMP

#include "linux/sched.h"
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/unicore32/mm/mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@

#include "mm.h"

DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);

/*
* empty_zero_page is a special page that is used for
* zero-initialized data and COW.
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/x86/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
#include <asm/tlb.h>
#include <asm/proto.h>

DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);

unsigned long __initdata pgt_buf_start;
unsigned long __meminitdata pgt_buf_end;
unsigned long __meminitdata pgt_buf_top;
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/xtensa/mm/mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
#include <asm/mmu_context.h>
#include <asm/page.h>

DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);

void __init paging_init(void)
{
memset(swapper_pg_dir, 0, PAGE_SIZE);
Expand Down

0 comments on commit 7cb7e17

Please sign in to comment.