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
37deafa7
Commit
37deafa7
authored
Jan 15, 2003
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Plain Diff
Merge samba.org:/scratch/anton/linux-2.5
into samba.org:/scratch/anton/for-alan
parents
9552d6bc
b1d56a42
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
22 deletions
+26
-22
arch/ppc64/kernel/entry.S
arch/ppc64/kernel/entry.S
+4
-6
include/asm-ppc64/bug.h
include/asm-ppc64/bug.h
+22
-0
include/asm-ppc64/page.h
include/asm-ppc64/page.h
+0
-16
No files found.
arch/ppc64/kernel/entry.S
View file @
37deafa7
...
...
@@ -106,9 +106,8 @@ _GLOBAL(DoSyscall)
beq
-
15
f
ld
r10
,
.
SYS_CALL_TABLE32
@
toc
(
2
)
/*
*
Now
mung
the
first
4
parameters
into
shape
,
by
making
certain
that
*
the
high
bits
(
most
significant
32
bits
in
64
bit
reg
)
are
0
*
for
the
first
4
parameter
regs
(
3
-
6
)
.
*
We
now
zero
extend
all
six
arguments
(
r3
-
r8
),
the
compatibility
*
layer
assumes
this
.
*/
clrldi
r3
,
r3
,
32
clrldi
r4
,
r4
,
32
...
...
@@ -178,9 +177,8 @@ _GLOBAL(ret_from_syscall_1)
beq
-
55
f
ld
r10
,
.
SYS_CALL_TABLE32
@
toc
(
2
)
/*
*
Now
mung
the
first
4
parameters
into
shape
,
by
making
certain
that
*
the
high
bits
(
most
significant
32
bits
in
64
bit
reg
)
are
0
*
for
the
first
4
parameter
regs
(
3
-
6
)
.
*
We
now
zero
extend
all
six
arguments
(
r3
-
r8
),
the
compatibility
*
layer
assumes
this
.
*/
clrldi
r3
,
r3
,
32
clrldi
r4
,
r4
,
32
...
...
include/asm-ppc64/bug.h
0 → 100644
View file @
37deafa7
#ifndef _PPC64_BUG_H
#define _PPC64_BUG_H
#include <linux/config.h>
#ifdef CONFIG_XMON
struct
pt_regs
;
extern
void
xmon
(
struct
pt_regs
*
excp
);
#define BUG() do { \
printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \
xmon(0); \
} while (0)
#else
#define BUG() do { \
printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \
__asm__ __volatile__(".long " BUG_ILLEGAL_INSTR); \
} while (0)
#endif
#define PAGE_BUG(page) do { BUG(); } while (0)
#endif
include/asm-ppc64/page.h
View file @
37deafa7
...
...
@@ -103,22 +103,6 @@ typedef unsigned long pgprot_t;
#endif
#ifdef CONFIG_XMON
#include <asm/ptrace.h>
extern
void
xmon
(
struct
pt_regs
*
excp
);
#define BUG() do { \
printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \
xmon(0); \
} while (0)
#else
#define BUG() do { \
printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \
__asm__ __volatile__(".long " BUG_ILLEGAL_INSTR); \
} while (0)
#endif
#define PAGE_BUG(page) do { BUG(); } while (0)
/* Pure 2^n version of get_order */
static
inline
int
get_order
(
unsigned
long
size
)
{
...
...
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