Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
eb6e71e3
Commit
eb6e71e3
authored
Jun 11, 2002
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: config.h resync and remove some stale code
ppc64: turn off STRICT_MM_TYPECHECKS
parent
59f17226
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
9 additions
and
49 deletions
+9
-49
arch/ppc64/kernel/iSeries_pci.c
arch/ppc64/kernel/iSeries_pci.c
+0
-1
arch/ppc64/kernel/mk_defs.c
arch/ppc64/kernel/mk_defs.c
+0
-1
arch/ppc64/kernel/pSeries_pci.c
arch/ppc64/kernel/pSeries_pci.c
+0
-1
arch/ppc64/kernel/ppc_asm.h
arch/ppc64/kernel/ppc_asm.h
+0
-2
arch/ppc64/kernel/proc_pmc.c
arch/ppc64/kernel/proc_pmc.c
+4
-3
arch/ppc64/xmon/privinst.h
arch/ppc64/xmon/privinst.h
+0
-1
include/asm-ppc64/lmb.h
include/asm-ppc64/lmb.h
+1
-0
include/asm-ppc64/page.h
include/asm-ppc64/page.h
+1
-12
include/asm-ppc64/pgtable.h
include/asm-ppc64/pgtable.h
+2
-13
include/asm-ppc64/system.h
include/asm-ppc64/system.h
+0
-12
include/asm-ppc64/time.h
include/asm-ppc64/time.h
+1
-0
include/asm-ppc64/uaccess.h
include/asm-ppc64/uaccess.h
+0
-3
No files found.
arch/ppc64/kernel/iSeries_pci.c
View file @
eb6e71e3
...
...
@@ -21,7 +21,6 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/string.h>
...
...
arch/ppc64/kernel/mk_defs.c
View file @
eb6e71e3
...
...
@@ -14,7 +14,6 @@
*/
#include <stddef.h>
#include <linux/config.h>
#include <linux/signal.h>
#include <linux/sched.h>
#include <linux/kernel.h>
...
...
arch/ppc64/kernel/pSeries_pci.c
View file @
eb6e71e3
...
...
@@ -22,7 +22,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/threads.h>
#include <linux/pci.h>
...
...
arch/ppc64/kernel/ppc_asm.h
View file @
eb6e71e3
...
...
@@ -11,8 +11,6 @@
* 2 of the License, or (at your option) any later version.
*/
#include <linux/config.h>
#include <asm/ppc_asm.tmpl>
#include "ppc_defs.h"
...
...
arch/ppc64/kernel/proc_pmc.c
View file @
eb6e71e3
...
...
@@ -24,6 +24,10 @@
* End Change Activity
*/
#include <linux/config.h>
#include <linux/proc_fs.h>
#include <linux/spinlock.h>
#include <asm/proc_fs.h>
#include <asm/paca.h>
#include <asm/iSeries/ItLpPaca.h>
...
...
@@ -33,9 +37,6 @@
#include <asm/processor.h>
#include <asm/time.h>
#include <asm/iSeries/LparData.h>
#include <linux/proc_fs.h>
#include <linux/spinlock.h>
#include <asm/pmc.h>
#include <asm/uaccess.h>
#include <asm/naca.h>
...
...
arch/ppc64/xmon/privinst.h
View file @
eb6e71e3
...
...
@@ -6,7 +6,6 @@
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*/
#include <linux/config.h>
#define GETREG(reg) \
static inline unsigned long get_ ## reg (void) \
...
...
include/asm-ppc64/lmb.h
View file @
eb6e71e3
...
...
@@ -13,6 +13,7 @@
* 2 of the License, or (at your option) any later version.
*/
#include <linux/config.h>
#include <asm/prom.h>
extern
unsigned
long
reloc_offset
(
void
);
...
...
include/asm-ppc64/page.h
View file @
eb6e71e3
...
...
@@ -33,24 +33,13 @@
#ifndef __ASSEMBLY__
#include <asm/naca.h>
#
define
STRICT_MM_TYPECHECKS
#
undef
STRICT_MM_TYPECHECKS
#define REGION_SIZE 4UL
#define OFFSET_SIZE 60UL
#define REGION_SHIFT 60UL
#define OFFSET_SHIFT 0UL
#define REGION_MASK (((1UL<<REGION_SIZE)-1UL)<<REGION_SHIFT)
#define REGION_STRIDE (1UL << REGION_SHIFT)
typedef
union
ppc64_va
{
struct
{
unsigned
long
off
:
OFFSET_SIZE
;
/* intra-region offset */
unsigned
long
reg
:
REGION_SIZE
;
/* region number */
}
f
;
unsigned
long
l
;
void
*
p
;
}
ppc64_va
;
static
__inline__
void
clear_page
(
void
*
addr
)
{
unsigned
long
lines
,
line_size
;
...
...
include/asm-ppc64/pgtable.h
View file @
eb6e71e3
...
...
@@ -12,11 +12,6 @@
#include <asm/page.h>
#endif
/* __ASSEMBLY__ */
/* Certain architectures need to do special things when pte's
* within a page table are directly modified. Thus, the following
* hook is made available.
*/
/* PMD_SHIFT determines what a second-level page table entry can map */
#define PMD_SHIFT (PAGE_SHIFT + PAGE_SHIFT - 3)
#define PMD_SIZE (1UL << PMD_SHIFT)
...
...
@@ -107,9 +102,9 @@
/* preserving _PAGE_SECONDARY | _PAGE_GROUP_IX */
#define _PAGE_CHG_MASK (PAGE_MASK | _PAGE_ACCESSED | _PAGE_DIRTY | _PAGE_HPTEFLAGS)
#define _PAGE_BASE
_PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_COHERENT
#define _PAGE_BASE
(_PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_COHERENT)
#define _PAGE_WRENABLE
_PAGE_RW | _PAGE_DIRTY
#define _PAGE_WRENABLE
(_PAGE_RW | _PAGE_DIRTY)
/* __pgprot defined in asm-ppc64/page.h */
#define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED)
...
...
@@ -330,8 +325,6 @@ static inline void pte_clear(pte_t * ptep)
pte_update
(
ptep
,
~
_PAGE_HPTEFLAGS
,
0
);
}
extern
unsigned
long
va_to_phys
(
unsigned
long
address
);
extern
pte_t
*
va_to_pte
(
unsigned
long
address
);
extern
unsigned
long
ioremap_bot
,
ioremap_base
;
#define USER_PGD_PTRS (PAGE_OFFSET >> PGDIR_SHIFT)
...
...
@@ -380,12 +373,8 @@ extern void update_mmu_cache(struct vm_area_struct *, unsigned long, pte_t);
*/
#define pgtable_cache_init() do { } while (0)
extern
void
updateBoltedHptePP
(
unsigned
long
newpp
,
unsigned
long
ea
);
extern
void
hpte_init_pSeries
(
void
);
extern
void
hpte_init_iSeries
(
void
);
extern
void
make_pte
(
HPTE
*
htab
,
unsigned
long
va
,
unsigned
long
pa
,
int
mode
,
unsigned
long
hash_mask
,
int
large
);
#endif
/* __ASSEMBLY__ */
#endif
/* _PPC64_PGTABLE_H */
include/asm-ppc64/system.h
View file @
eb6e71e3
...
...
@@ -15,13 +15,6 @@
#include <asm/hw_irq.h>
#include <asm/memory.h>
/*
* System defines.
*/
#define KERNEL_START_PHYS 0x800000
#define KERNEL_START (PAGE_OFFSET+KERNEL_START_PHYS)
#define START_ADDR (PAGE_OFFSET+KERNEL_START_PHYS+0x00000)
/*
* Memory barrier.
* The sync instruction guarantees that all memory accesses initiated
...
...
@@ -88,11 +81,6 @@ extern void flush_instruction_cache(void);
extern
void
hard_reset_now
(
void
);
extern
void
poweroff_now
(
void
);
extern
int
_get_PVR
(
void
);
extern
long
_get_L2CR
(
void
);
extern
void
_set_L2CR
(
unsigned
long
);
extern
void
via_cuda_init
(
void
);
extern
void
pmac_nvram_init
(
void
);
extern
void
pmac_find_display
(
void
);
extern
void
giveup_fpu
(
struct
task_struct
*
);
extern
void
enable_kernel_fp
(
void
);
extern
void
giveup_altivec
(
struct
task_struct
*
);
...
...
include/asm-ppc64/time.h
View file @
eb6e71e3
...
...
@@ -14,6 +14,7 @@
#define __PPC64_TIME_H
#ifdef __KERNEL__
#include <linux/config.h>
#include <linux/types.h>
#include <linux/mc146818rtc.h>
...
...
include/asm-ppc64/uaccess.h
View file @
eb6e71e3
...
...
@@ -124,9 +124,6 @@ do { \
} \
} while (0)
struct
__large_struct
{
unsigned
long
buf
[
100
];
};
#define __m(x) (*(struct __large_struct *)(x))
/*
* We don't tell gcc that we are accessing memory, but this is OK
* because we do not write to any memory gcc knows about, so there
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment