Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 53757
b: refs/heads/master
c: e658450
h: refs/heads/master
i:
  53755: 50f8f56
v: v3
  • Loading branch information
Stephen Hemminger authored and Andi Kleen committed May 2, 2007
1 parent 807bdfc commit eb3fbb9
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 19d1743315099665db4ce02c9942507a5ee1deea
refs/heads/master: e65845045588806fa5c8df8a4f4253516515a5e3
2 changes: 1 addition & 1 deletion trunk/arch/x86_64/kernel/pci-calgary.c
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ void* calgary_alloc_coherent(struct device *dev, size_t size,
return ret;
}

static struct dma_mapping_ops calgary_dma_ops = {
static const struct dma_mapping_ops calgary_dma_ops = {
.alloc_coherent = calgary_alloc_coherent,
.map_single = calgary_map_single,
.unmap_single = calgary_unmap_single,
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/x86_64/kernel/pci-gart.c
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ static __init int init_k8_gatt(struct agp_kern_info *info)

extern int agp_amd64_init(void);

static struct dma_mapping_ops gart_dma_ops = {
static const struct dma_mapping_ops gart_dma_ops = {
.mapping_error = NULL,
.map_single = gart_map_single,
.map_simple = gart_map_simple,
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/x86_64/kernel/pci-nommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ void nommu_unmap_sg(struct device *dev, struct scatterlist *sg,
{
}

struct dma_mapping_ops nommu_dma_ops = {
const struct dma_mapping_ops nommu_dma_ops = {
.map_single = nommu_map_single,
.unmap_single = nommu_unmap_single,
.map_sg = nommu_map_sg,
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/x86_64/kernel/pci-swiotlb.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
int swiotlb __read_mostly;
EXPORT_SYMBOL(swiotlb);

struct dma_mapping_ops swiotlb_dma_ops = {
const struct dma_mapping_ops swiotlb_dma_ops = {
.mapping_error = swiotlb_dma_mapping_error,
.alloc_coherent = swiotlb_alloc_coherent,
.free_coherent = swiotlb_free_coherent,
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/x86_64/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
#define Dprintk(x...)
#endif

struct dma_mapping_ops* dma_ops;
const struct dma_mapping_ops* dma_ops;
EXPORT_SYMBOL(dma_ops);

static unsigned long dma_reserve __initdata;
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/asm-x86_64/dma-mapping.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ struct dma_mapping_ops {
};

extern dma_addr_t bad_dma_address;
extern struct dma_mapping_ops* dma_ops;
extern const struct dma_mapping_ops* dma_ops;
extern int iommu_merge;

static inline int dma_mapping_error(dma_addr_t dma_addr)
Expand Down

0 comments on commit eb3fbb9

Please sign in to comment.