clk.c (57c8a661d95dff48dd9c2f2496139082bbaf241a) | clk.c (7e1c4e27928e5f87b9b1eaf06dc31773b2f1e7f1) |
---|---|
1/* 2 * TI clock support 3 * 4 * Copyright (C) 2013 Texas Instruments, Inc. 5 * 6 * Tero Kristo <t-kristo@ti.com> 7 * 8 * This program is free software; you can redistribute it and/or modify --- 328 unchanged lines hidden (view full) --- 337 * @mem: iomem pointer for the clock provider memory area 338 * 339 * Initializes a legacy clock provider memory mapping. 340 */ 341void __init omap2_clk_legacy_provider_init(int index, void __iomem *mem) 342{ 343 struct clk_iomap *io; 344 | 1/* 2 * TI clock support 3 * 4 * Copyright (C) 2013 Texas Instruments, Inc. 5 * 6 * Tero Kristo <t-kristo@ti.com> 7 * 8 * This program is free software; you can redistribute it and/or modify --- 328 unchanged lines hidden (view full) --- 337 * @mem: iomem pointer for the clock provider memory area 338 * 339 * Initializes a legacy clock provider memory mapping. 340 */ 341void __init omap2_clk_legacy_provider_init(int index, void __iomem *mem) 342{ 343 struct clk_iomap *io; 344 |
345 io = memblock_alloc(sizeof(*io), 0); | 345 io = memblock_alloc(sizeof(*io), SMP_CACHE_BYTES); |
346 347 io->mem = mem; 348 349 clk_memmaps[index] = io; 350} 351 352/** 353 * ti_dt_clk_init_retry_clks - init clocks from the retry list --- 158 unchanged lines hidden --- | 346 347 io->mem = mem; 348 349 clk_memmaps[index] = io; 350} 351 352/** 353 * ti_dt_clk_init_retry_clks - init clocks from the retry list --- 158 unchanged lines hidden --- |