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
1ea44669
Commit
1ea44669
authored
Jun 04, 2003
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: fix compile error introduced in threaded coredump patch
parent
4750784c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
arch/ppc64/boot/main.c
arch/ppc64/boot/main.c
+4
-1
include/asm-ppc64/elf.h
include/asm-ppc64/elf.h
+4
-0
No files found.
arch/ppc64/boot/main.c
View file @
1ea44669
...
...
@@ -8,7 +8,6 @@
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*/
#define __KERNEL__
#include "ppc32-types.h"
#include "zlib.h"
#include <linux/elf.h>
...
...
@@ -28,6 +27,10 @@ void flush_cache(void *, unsigned long);
void
pause
(
void
);
extern
void
exit
(
void
);
unsigned
long
strlen
(
const
char
*
s
);
void
*
memmove
(
void
*
dest
,
const
void
*
src
,
unsigned
long
n
);
void
*
memcpy
(
void
*
dest
,
const
void
*
src
,
unsigned
long
n
);
static
struct
bi_record
*
make_bi_recs
(
unsigned
long
);
#define RAM_START 0x00000000
...
...
include/asm-ppc64/elf.h
View file @
1ea44669
...
...
@@ -97,6 +97,8 @@ typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
#define ELF_ET_DYN_BASE (0x08000000)
#ifdef __KERNEL__
/* Common routine for both 32-bit and 64-bit processes */
static
inline
void
ppc64_elf_core_copy_regs
(
elf_gregset_t
elf_regs
,
struct
pt_regs
*
regs
)
...
...
@@ -131,6 +133,8 @@ extern void dump_smp_unlazy_fpu(void);
#define ELF_CORE_SYNC dump_smp_unlazy_fpu
#endif
#endif
/* This yields a mask that user programs can use to figure out what
instruction set this cpu supports. This could be done in userspace,
but it's not easy, and we've already done it here. */
...
...
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