diff options
author | Uwe Zeisberger <Uwe_Zeisberger@digi.com> | 2006-05-05 10:11:14 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-05-05 10:11:14 -0400 |
commit | 2eb9d3157107497fdccb51e1570fea677f6e3c82 (patch) | |
tree | 5defe41298ee451b32719591ffb1f73b8b9e3e55 /arch/arm/kernel/asm-offsets.c | |
parent | ff10952a547dad934d9ed9afc5cf579ed1ccb53a (diff) |
[ARM] 3496/1: more constants for asm-offsets.h
Patch from Uwe Zeisberger
added the following constants:
- MACHINFO_TYPE
- MACHINFO_NAME
- MACHINFO_PHYSIO
- MACHINFO_PGOFFIO
- PROCINFO_INITFUNC
- PROCINFO_MMUFLAGS
and removed their definition from head.S and head-nommu.S
Signed-off-by: Uwe Zeisberger <Uwe_Zeisberger@digi.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/asm-offsets.c')
-rw-r--r-- | arch/arm/kernel/asm-offsets.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/kernel/asm-offsets.c b/arch/arm/kernel/asm-offsets.c index b324dcac1c56..45fdf4a51a2a 100644 --- a/arch/arm/kernel/asm-offsets.c +++ b/arch/arm/kernel/asm-offsets.c | |||
@@ -95,5 +95,11 @@ int main(void) | |||
95 | DEFINE(SYS_ERROR0, 0x9f0000); | 95 | DEFINE(SYS_ERROR0, 0x9f0000); |
96 | BLANK(); | 96 | BLANK(); |
97 | DEFINE(SIZEOF_MACHINE_DESC, sizeof(struct machine_desc)); | 97 | DEFINE(SIZEOF_MACHINE_DESC, sizeof(struct machine_desc)); |
98 | DEFINE(MACHINFO_TYPE, offsetof(struct machine_desc, nr)); | ||
99 | DEFINE(MACHINFO_NAME, offsetof(struct machine_desc, name)); | ||
100 | DEFINE(MACHINFO_PHYSIO, offsetof(struct machine_desc, phys_io)); | ||
101 | DEFINE(MACHINFO_PGOFFIO, offsetof(struct machine_desc, io_pg_offst)); | ||
102 | DEFINE(PROCINFO_INITFUNC, offsetof(struct proc_info_list, __cpu_flush)); | ||
103 | DEFINE(PROCINFO_MMUFLAGS, offsetof(struct proc_info_list, __cpu_mmu_flags)); | ||
98 | return 0; | 104 | return 0; |
99 | } | 105 | } |