diff options
| author | 2009-01-06 09:04:32 +0100 | |
|---|---|---|
| committer | 2009-01-06 09:04:32 +0100 | |
| commit | d12418fdeafdc08dd5bbec89d3e07e47ee75da55 (patch) | |
| tree | ac94d5bf58360b89fc7439fb52182c17d0674b0a /lib | |
| parent | x86: cleanup remaining cpumask_t ops in smpboot code (diff) | |
| parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/agk/linux-2.6-dm (diff) | |
Merge branch 'linus' into cpus4096
Diffstat (limited to 'lib')
| -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 @@ #include <linux/spinlock.h> #include <linux/swiotlb.h> #include <linux/string.h> -#include <linux/swiotlb.h> #include <linux/types.h> #include <linux/ctype.h> #include <linux/highmem.h> @@ -116,7 +115,7 @@ setup_io_tlb_npages(char *str) __setup("swiotlb=", setup_io_tlb_npages); /* make io_tlb_overflow tunable too? */ -void * __weak swiotlb_alloc_boot(size_t size, unsigned long nslabs) +void * __weak __init swiotlb_alloc_boot(size_t size, unsigned long nslabs) { return alloc_bootmem_low_pages(size); } |
