diff options
Diffstat (limited to 'arch/alpha/kernel/pci.c')
-rw-r--r-- | arch/alpha/kernel/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/kernel/pci.c b/arch/alpha/kernel/pci.c index a3b938811400..a91ba28999b5 100644 --- a/arch/alpha/kernel/pci.c +++ b/arch/alpha/kernel/pci.c | |||
@@ -168,7 +168,7 @@ pcibios_align_resource(void *data, struct resource *res, | |||
168 | */ | 168 | */ |
169 | 169 | ||
170 | /* Align to multiple of size of minimum base. */ | 170 | /* Align to multiple of size of minimum base. */ |
171 | alignto = max(0x1000UL, align); | 171 | alignto = max_t(resource_size_t, 0x1000, align); |
172 | start = ALIGN(start, alignto); | 172 | start = ALIGN(start, alignto); |
173 | if (hose->sparse_mem_base && size <= 7 * 16*MB) { | 173 | if (hose->sparse_mem_base && size <= 7 * 16*MB) { |
174 | if (((start / (16*MB)) & 0x7) == 0) { | 174 | if (((start / (16*MB)) & 0x7) == 0) { |