Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 14498
b: refs/heads/master
c: 047ea78
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mackerras committed Nov 19, 2005
1 parent 50bbadf commit 937296e
Show file tree
Hide file tree
Showing 10 changed files with 50 additions and 26 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: 800fc3eeb0eed3bf98d621c0da24d68cabcf6526
refs/heads/master: 047ea7846565917c4a666635fa1fa4b5c587cd55
12 changes: 8 additions & 4 deletions trunk/include/asm-ppc64/io.h → trunk/include/asm-powerpc/io.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef _PPC64_IO_H
#define _PPC64_IO_H
#ifndef _ASM_POWERPC_IO_H
#define _ASM_POWERPC_IO_H

/*
* This program is free software; you can redistribute it and/or
Expand All @@ -8,7 +8,10 @@
* 2 of the License, or (at your option) any later version.
*/

#include <linux/config.h>
#ifndef CONFIG_PPC64
#include <asm-ppc/io.h>
#else

#include <linux/compiler.h>
#include <asm/page.h>
#include <asm/byteorder.h>
Expand Down Expand Up @@ -455,4 +458,5 @@ extern int check_legacy_ioport(unsigned long base_port);

#endif /* __KERNEL__ */

#endif /* _PPC64_IO_H */
#endif /* CONFIG_PPC64 */
#endif /* _ASM_POWERPC_IO_H */
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
#ifndef _ASM_POWERPC_MMU_H_
#define _ASM_POWERPC_MMU_H_

#ifndef CONFIG_PPC64
#include <asm-ppc/mmu.h>
#else

/*
* PowerPC memory management structures
*
Expand All @@ -10,10 +17,6 @@
* 2 of the License, or (at your option) any later version.
*/

#ifndef _PPC64_MMU_H_
#define _PPC64_MMU_H_

#include <linux/config.h>
#include <asm/asm-compat.h>
#include <asm/page.h>

Expand Down Expand Up @@ -392,4 +395,5 @@ static inline unsigned long get_vsid(unsigned long context, unsigned long ea)

#endif /* __ASSEMBLY */

#endif /* _PPC64_MMU_H_ */
#endif /* CONFIG_PPC64 */
#endif /* _ASM_POWERPC_MMU_H_ */
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
#ifndef __PPC64_MMU_CONTEXT_H
#define __PPC64_MMU_CONTEXT_H
#ifndef __ASM_POWERPC_MMU_CONTEXT_H
#define __ASM_POWERPC_MMU_CONTEXT_H

#ifndef CONFIG_PPC64
#include <asm-ppc/mmu_context.h>
#else

#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <asm/mmu.h>
Expand Down Expand Up @@ -82,4 +85,5 @@ static inline void activate_mm(struct mm_struct *prev, struct mm_struct *next)
local_irq_restore(flags);
}

#endif /* __PPC64_MMU_CONTEXT_H */
#endif /* CONFIG_PPC64 */
#endif /* __ASM_POWERPC_MMU_CONTEXT_H */
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#ifdef __KERNEL__
#ifndef _ASM_PCI_BRIDGE_H
#define _ASM_PCI_BRIDGE_H
#ifndef _ASM_POWERPC_PCI_BRIDGE_H
#define _ASM_POWERPC_PCI_BRIDGE_H

#ifndef CONFIG_PPC64
#include <asm-ppc/pci-bridge.h>
#else

#include <linux/config.h>
#include <linux/pci.h>
#include <linux/list.h>

Expand Down Expand Up @@ -147,5 +149,5 @@ extern void pcibios_free_controller(struct pci_controller *phb);
#define PCI_PROBE_NORMAL 0 /* Do normal PCI probing */
#define PCI_PROBE_DEVTREE 1 /* Instantiate from device tree */

#endif /* CONFIG_PPC64 */
#endif
#endif /* __KERNEL__ */
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#ifndef _PPC64_PGALLOC_H
#define _PPC64_PGALLOC_H
#ifndef _ASM_POWERPC_PGALLOC_H
#define _ASM_POWERPC_PGALLOC_H

#ifndef CONFIG_PPC64
#include <asm-ppc/pgalloc.h>
#else

#include <linux/mm.h>
#include <linux/slab.h>
Expand Down Expand Up @@ -148,4 +152,5 @@ extern void pgtable_free_tlb(struct mmu_gather *tlb, pgtable_free_t pgf);

#define check_pgt_cache() do { } while (0)

#endif /* _PPC64_PGALLOC_H */
#endif /* CONFIG_PPC64 */
#endif /* _ASM_POWERPC_PGALLOC_H */
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#ifndef _PPC64_PGTABLE_H
#define _PPC64_PGTABLE_H
#ifndef _ASM_POWERPC_PGTABLE_H
#define _ASM_POWERPC_PGTABLE_H

#ifndef CONFIG_PPC64
#include <asm-ppc/pgtable.h>
#else

/*
* This file contains the functions and defines necessary to modify and use
Expand Down Expand Up @@ -76,7 +80,7 @@ struct mm_struct;

#define _PAGE_WRENABLE (_PAGE_RW | _PAGE_DIRTY)

/* __pgprot defined in asm-ppc64/page.h */
/* __pgprot defined in asm-powerpc/page.h */
#define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED)

#define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_RW | _PAGE_USER)
Expand Down Expand Up @@ -516,4 +520,5 @@ void pgtable_cache_init(void);

#endif /* __ASSEMBLY__ */

#endif /* _PPC64_PGTABLE_H */
#endif /* CONFIG_PPC64 */
#endif /* _ASM_POWERPC_PGTABLE_H */

0 comments on commit 937296e

Please sign in to comment.