diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-06 03:04:32 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-06 03:04:32 -0500 |
commit | d12418fdeafdc08dd5bbec89d3e07e47ee75da55 (patch) | |
tree | ac94d5bf58360b89fc7439fb52182c17d0674b0a /lib/swiotlb.c | |
parent | c2d1cec1c77f7714672c1efeae075424c929e0d5 (diff) | |
parent | 238c6d54830c624f34ac9cf123ac04aebfca5013 (diff) |
Merge branch 'linus' into cpus4096
Diffstat (limited to 'lib/swiotlb.c')
-rw-r--r-- | lib/swiotlb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/swiotlb.c b/lib/swiotlb.c index fa2dc4e5f9ba..7f5e21b9c16b 100644 --- a/lib/swiotlb.c +++ b/lib/swiotlb.c | |||
@@ -23,7 +23,6 @@ | |||
23 | #include <linux/spinlock.h> | 23 | #include <linux/spinlock.h> |
24 | #include <linux/swiotlb.h> | 24 | #include <linux/swiotlb.h> |
25 | #include <linux/string.h> | 25 | #include <linux/string.h> |
26 | #include <linux/swiotlb.h> | ||
27 | #include <linux/types.h> | 26 | #include <linux/types.h> |
28 | #include <linux/ctype.h> | 27 | #include <linux/ctype.h> |
29 | #include <linux/highmem.h> | 28 | #include <linux/highmem.h> |
@@ -116,7 +115,7 @@ setup_io_tlb_npages(char *str) | |||
116 | __setup("swiotlb=", setup_io_tlb_npages); | 115 | __setup("swiotlb=", setup_io_tlb_npages); |
117 | /* make io_tlb_overflow tunable too? */ | 116 | /* make io_tlb_overflow tunable too? */ |
118 | 117 | ||
119 | void * __weak swiotlb_alloc_boot(size_t size, unsigned long nslabs) | 118 | void * __weak __init swiotlb_alloc_boot(size_t size, unsigned long nslabs) |
120 | { | 119 | { |
121 | return alloc_bootmem_low_pages(size); | 120 | return alloc_bootmem_low_pages(size); |
122 | } | 121 | } |