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
Kirill Smelkov
linux
Commits
cc1d98a9
Commit
cc1d98a9
authored
Apr 13, 2002
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: formatting cleanups
parent
d1d40723
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
26 deletions
+4
-26
include/asm-ppc64/pgtable.h
include/asm-ppc64/pgtable.h
+0
-16
include/asm-ppc64/posix_types.h
include/asm-ppc64/posix_types.h
+3
-3
include/asm-ppc64/signal.h
include/asm-ppc64/signal.h
+0
-6
include/asm-ppc64/system.h
include/asm-ppc64/system.h
+1
-1
No files found.
include/asm-ppc64/pgtable.h
View file @
cc1d98a9
...
@@ -7,7 +7,6 @@
...
@@ -7,7 +7,6 @@
*/
*/
#ifndef __ASSEMBLY__
#ifndef __ASSEMBLY__
#include <linux/threads.h>
#include <asm/processor.h>
/* For TASK_SIZE */
#include <asm/processor.h>
/* For TASK_SIZE */
#include <asm/mmu.h>
#include <asm/mmu.h>
#include <asm/page.h>
#include <asm/page.h>
...
@@ -358,20 +357,6 @@ extern pgd_t ioremap_dir[1024];
...
@@ -358,20 +357,6 @@ extern pgd_t ioremap_dir[1024];
extern
void
paging_init
(
void
);
extern
void
paging_init
(
void
);
/*
* Page tables may have changed. We don't need to do anything here
* as entries are faulted into the hash table by the low-level
* data/instruction access exception handlers.
*/
#if 0
/*
* We won't be able to use update_mmu_cache to update the
* hardware page table because we need to update the pte
* as well, but we don't get the address of the pte, only
* its value.
*/
#define update_mmu_cache(vma, addr, pte) do { } while (0)
#else
/*
/*
* This gets called at the end of handling a page fault, when
* This gets called at the end of handling a page fault, when
* the kernel has put a new PTE into the page table for the process.
* the kernel has put a new PTE into the page table for the process.
...
@@ -380,7 +365,6 @@ extern void paging_init(void);
...
@@ -380,7 +365,6 @@ extern void paging_init(void);
* hash-table miss exception.
* hash-table miss exception.
*/
*/
extern
void
update_mmu_cache
(
struct
vm_area_struct
*
,
unsigned
long
,
pte_t
);
extern
void
update_mmu_cache
(
struct
vm_area_struct
*
,
unsigned
long
,
pte_t
);
#endif
/* Encode and de-code a swap entry */
/* Encode and de-code a swap entry */
#define SWP_TYPE(entry) (((entry).val >> 1) & 0x3f)
#define SWP_TYPE(entry) (((entry).val >> 1) & 0x3f)
...
...
include/asm-ppc64/posix_types.h
View file @
cc1d98a9
...
@@ -18,17 +18,17 @@
...
@@ -18,17 +18,17 @@
#ifdef DRENG_TYPES
#ifdef DRENG_TYPES
typedef
unsigned
long
__kernel_dev_t
;
typedef
unsigned
long
__kernel_dev_t
;
typedef
unsigned
long
__kernel_ino_t
;
typedef
unsigned
long
__kernel_ino_t
;
typedef
unsigned
long
__kernel_nlink_t
;
typedef
unsigned
long
__kernel_nlink_t
;
#else
#else
typedef
unsigned
int
__kernel_dev_t
;
typedef
unsigned
int
__kernel_dev_t
;
typedef
unsigned
int
__kernel_ino_t
;
typedef
unsigned
int
__kernel_ino_t
;
typedef
unsigned
int
__kernel_nlink_t
;
typedef
unsigned
int
__kernel_nlink_t
;
#endif
#endif
typedef
unsigned
int
__kernel_mode_t
;
typedef
unsigned
int
__kernel_mode_t
;
typedef
long
__kernel_off_t
;
typedef
long
__kernel_off_t
;
typedef
long
long
__kernel_loff_t
;
typedef
long
long
__kernel_loff_t
;
typedef
int
__kernel_pid_t
;
typedef
int
__kernel_pid_t
;
typedef
int
__kernel_ipc_pid_t
;
typedef
int
__kernel_ipc_pid_t
;
typedef
unsigned
int
__kernel_uid_t
;
typedef
unsigned
int
__kernel_uid_t
;
typedef
unsigned
int
__kernel_gid_t
;
typedef
unsigned
int
__kernel_gid_t
;
typedef
unsigned
long
__kernel_size_t
;
typedef
unsigned
long
__kernel_size_t
;
...
...
include/asm-ppc64/signal.h
View file @
cc1d98a9
...
@@ -58,12 +58,6 @@ typedef struct {
...
@@ -58,12 +58,6 @@ typedef struct {
#define SIGRTMIN 32
#define SIGRTMIN 32
#define SIGRTMAX (_NSIG-1)
#define SIGRTMAX (_NSIG-1)
/*
/*
* SA_FLAGS values:
* SA_FLAGS values:
*
*
...
...
include/asm-ppc64/system.h
View file @
cc1d98a9
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
* give any ordering guarantees about loads, we have to use the
* give any ordering guarantees about loads, we have to use the
* stronger but slower sync instruction for mb and rmb.
* stronger but slower sync instruction for mb and rmb.
*/
*/
#define mb() __asm__ __volatile__ ("sync" : : : "memory")
#define mb()
__asm__ __volatile__ ("sync" : : : "memory")
#define rmb() __asm__ __volatile__ ("lwsync" : : : "memory")
#define rmb() __asm__ __volatile__ ("lwsync" : : : "memory")
#define wmb() __asm__ __volatile__ ("eieio" : : : "memory")
#define wmb() __asm__ __volatile__ ("eieio" : : : "memory")
...
...
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