repo.or.cz
/
linux-2.6
/
linux-acpi-2.6
/
ibm-acpi-2.6.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
elf coredump: replace ELF_CORE_EXTRA_* macros by functions
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git]
/
kernel
/
elfcore.c
blob
5445741f4b4caa85419807240ffa7813215de047
1
#include <linux/elf.h>
2
#include <linux/fs.h>
3
#include <linux/mm.h>
4
5
#include <asm/elf.h>
6
7
8
Elf_Half __weak
elf_core_extra_phdrs
(
void
)
9
{
10
return
0
;
11
}
12
13
int
__weak
elf_core_write_extra_phdrs
(
struct
file
*
file
,
loff_t offset
,
size_t
*
size
,
14
unsigned long
limit
)
15
{
16
return
1
;
17
}
18
19
int
__weak
elf_core_write_extra_data
(
struct
file
*
file
,
size_t
*
size
,
20
unsigned long
limit
)
21
{
22
return
1
;
23
}