diff options
author | Paul Mackerras <paulus@samba.org> | 2008-06-09 00:01:46 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-06-10 07:40:22 -0400 |
commit | 917f0af9e5a9ceecf9e72537fabb501254ba321d (patch) | |
tree | 1ef207755c6d83ce4af93ef2b5e4645eebd65886 /include/asm-ppc/prom.h | |
parent | 0f3d6bcd391b058c619fc30e8022e8a29fbf4bef (diff) |
powerpc: Remove arch/ppc and include/asm-ppc
All the maintained platforms are now in arch/powerpc, so the old
arch/ppc stuff can now go away.
Acked-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Becky Bruce <becky.bruce@freescale.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Jochen Friedrich <jochen@scram.de>
Acked-by: John Linn <john.linn@xilinx.com>
Acked-by: Jon Loeliger <jdl@freescale.com>
Acked-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Olof Johansson <olof@lixom.net>
Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
Acked-by: Scott Wood <scottwood@freescale.com>
Acked-by: Sean MacLennan <smaclennan@pikatech.com>
Acked-by: Segher Boessenkool <segher@kernel.crashing.org>
Acked-by: Stefan Roese <sr@denx.de>
Acked-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Acked-by: Wolfgang Denk <wd@denx.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-ppc/prom.h')
-rw-r--r-- | include/asm-ppc/prom.h | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/include/asm-ppc/prom.h b/include/asm-ppc/prom.h deleted file mode 100644 index 71f4c996fe75..000000000000 --- a/include/asm-ppc/prom.h +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | /* | ||
2 | * Definitions for talking to the Open Firmware PROM on | ||
3 | * Power Macintosh computers. | ||
4 | * | ||
5 | * Copyright (C) 1996 Paul Mackerras. | ||
6 | */ | ||
7 | #ifdef __KERNEL__ | ||
8 | #ifndef _PPC_PROM_H | ||
9 | #define _PPC_PROM_H | ||
10 | |||
11 | /* This is used in arch/ppc/mm/mem_pieces.h */ | ||
12 | struct reg_property { | ||
13 | unsigned int address; | ||
14 | unsigned int size; | ||
15 | }; | ||
16 | |||
17 | /* | ||
18 | * These macros assist in performing the address calculations that we | ||
19 | * need to do to access data when the kernel is running at an address | ||
20 | * that is different from the address that the kernel is linked at. | ||
21 | * The reloc_offset() function returns the difference between these | ||
22 | * two addresses and the macros simplify the process of adding or | ||
23 | * subtracting this offset to/from pointer values. | ||
24 | */ | ||
25 | extern unsigned long reloc_offset(void); | ||
26 | extern unsigned long add_reloc_offset(unsigned long); | ||
27 | extern unsigned long sub_reloc_offset(unsigned long); | ||
28 | |||
29 | #define PTRRELOC(x) ((typeof(x))add_reloc_offset((unsigned long)(x))) | ||
30 | #define PTRUNRELOC(x) ((typeof(x))sub_reloc_offset((unsigned long)(x))) | ||
31 | |||
32 | /* | ||
33 | * Fallback definitions since we don't support OF in arch/ppc any more. | ||
34 | */ | ||
35 | #define machine_is_compatible(x) 0 | ||
36 | #define of_find_compatible_node(f, t, c) NULL | ||
37 | #define of_get_property(p, n, l) NULL | ||
38 | |||
39 | #endif /* _PPC_PROM_H */ | ||
40 | #endif /* __KERNEL__ */ | ||