Commit 88999ceb55bf959e63df0c911915166b005977fc
Committed by
Paul Mackerras
1 parent
45e2a6e4e5
Exists in
master
and in
4 other branches
[PATCH] Move the identical files from include/asm-ppc{,64}
Move the identical files from include/asm-ppc{,64}/ to include/asm-powerpc/. Remove hdreg.h completely as it is unused in the tree. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Showing 23 changed files with 38 additions and 98 deletions Side-by-side Diff
- include/asm-powerpc/8253pit.h
- include/asm-powerpc/agp.h
- include/asm-powerpc/cputime.h
- include/asm-powerpc/div64.h
- include/asm-powerpc/emergency-restart.h
- include/asm-powerpc/ipc.h
- include/asm-powerpc/xor.h
- include/asm-ppc/8253pit.h
- include/asm-ppc/agp.h
- include/asm-ppc/cputime.h
- include/asm-ppc/div64.h
- include/asm-ppc/emergency-restart.h
- include/asm-ppc/hdreg.h
- include/asm-ppc/ipc.h
- include/asm-ppc/xor.h
- include/asm-ppc64/8253pit.h
- include/asm-ppc64/agp.h
- include/asm-ppc64/cputime.h
- include/asm-ppc64/div64.h
- include/asm-ppc64/emergency-restart.h
- include/asm-ppc64/hdreg.h
- include/asm-ppc64/ipc.h
- include/asm-ppc64/xor.h
include/asm-powerpc/8253pit.h
include/asm-powerpc/agp.h
1 | +#ifndef AGP_H | |
2 | +#define AGP_H 1 | |
3 | + | |
4 | +#include <asm/io.h> | |
5 | + | |
6 | +/* nothing much needed here */ | |
7 | + | |
8 | +#define map_page_into_agp(page) | |
9 | +#define unmap_page_from_agp(page) | |
10 | +#define flush_agp_mappings() | |
11 | +#define flush_agp_cache() mb() | |
12 | + | |
13 | +/* Convert a physical address to an address suitable for the GART. */ | |
14 | +#define phys_to_gart(x) (x) | |
15 | +#define gart_to_phys(x) (x) | |
16 | + | |
17 | +/* GATT allocation. Returns/accepts GATT kernel virtual address. */ | |
18 | +#define alloc_gatt_pages(order) \ | |
19 | + ((char *)__get_free_pages(GFP_KERNEL, (order))) | |
20 | +#define free_gatt_pages(table, order) \ | |
21 | + free_pages((unsigned long)(table), (order)) | |
22 | + | |
23 | +#endif |
include/asm-powerpc/cputime.h
1 | +#include <asm-generic/cputime.h> |
include/asm-powerpc/div64.h
1 | +#include <asm-generic/div64.h> |
include/asm-powerpc/emergency-restart.h
1 | +#include <asm-generic/emergency-restart.h> |
include/asm-powerpc/ipc.h
1 | +#include <asm-generic/ipc.h> |
include/asm-powerpc/xor.h
1 | +#include <asm-generic/xor.h> |
include/asm-ppc/8253pit.h
include/asm-ppc/agp.h
1 | -#ifndef AGP_H | |
2 | -#define AGP_H 1 | |
3 | - | |
4 | -#include <asm/io.h> | |
5 | - | |
6 | -/* nothing much needed here */ | |
7 | - | |
8 | -#define map_page_into_agp(page) | |
9 | -#define unmap_page_from_agp(page) | |
10 | -#define flush_agp_mappings() | |
11 | -#define flush_agp_cache() mb() | |
12 | - | |
13 | -/* Convert a physical address to an address suitable for the GART. */ | |
14 | -#define phys_to_gart(x) (x) | |
15 | -#define gart_to_phys(x) (x) | |
16 | - | |
17 | -/* GATT allocation. Returns/accepts GATT kernel virtual address. */ | |
18 | -#define alloc_gatt_pages(order) \ | |
19 | - ((char *)__get_free_pages(GFP_KERNEL, (order))) | |
20 | -#define free_gatt_pages(table, order) \ | |
21 | - free_pages((unsigned long)(table), (order)) | |
22 | - | |
23 | -#endif |
include/asm-ppc/cputime.h
include/asm-ppc/div64.h
1 | -#include <asm-generic/div64.h> |
include/asm-ppc/emergency-restart.h
include/asm-ppc/hdreg.h
1 | -#include <asm-generic/hdreg.h> |
include/asm-ppc/ipc.h
1 | -#include <asm-generic/ipc.h> |
include/asm-ppc/xor.h
1 | -#include <asm-generic/xor.h> |
include/asm-ppc64/8253pit.h
include/asm-ppc64/agp.h
1 | -#ifndef AGP_H | |
2 | -#define AGP_H 1 | |
3 | - | |
4 | -#include <asm/io.h> | |
5 | - | |
6 | -/* nothing much needed here */ | |
7 | - | |
8 | -#define map_page_into_agp(page) | |
9 | -#define unmap_page_from_agp(page) | |
10 | -#define flush_agp_mappings() | |
11 | -#define flush_agp_cache() mb() | |
12 | - | |
13 | -/* Convert a physical address to an address suitable for the GART. */ | |
14 | -#define phys_to_gart(x) (x) | |
15 | -#define gart_to_phys(x) (x) | |
16 | - | |
17 | -/* GATT allocation. Returns/accepts GATT kernel virtual address. */ | |
18 | -#define alloc_gatt_pages(order) \ | |
19 | - ((char *)__get_free_pages(GFP_KERNEL, (order))) | |
20 | -#define free_gatt_pages(table, order) \ | |
21 | - free_pages((unsigned long)(table), (order)) | |
22 | - | |
23 | -#endif |
include/asm-ppc64/cputime.h
include/asm-ppc64/div64.h
1 | -#include <asm-generic/div64.h> |
include/asm-ppc64/emergency-restart.h
include/asm-ppc64/hdreg.h
1 | -#include <asm-generic/hdreg.h> |
include/asm-ppc64/ipc.h
1 | -#include <asm-generic/ipc.h> |
include/asm-ppc64/xor.h
1 | -#include <asm-generic/xor.h> |