OpenCloudOS-Kernel/arch/nios2
Ard Biesheuvel 046982c760 nios2: use correct void* return type for page_to_virt()
To align with other architectures, the expression produced by expanding
the macro page_to_virt() should be of type void*, since it returns a
virtual address. Fix that, and also fix up an instance where page_to_virt
was expected to return 'unsigned long', and drop another instance that was
entirely unused (page_to_bus)

Acked-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
2016-04-22 10:08:26 +01:00
..
boot nios2: Add Max10 device tree 2015-09-08 18:15:52 +08:00
configs nios2: add Max10 defconfig 2015-09-08 18:16:02 +08:00
include nios2: use correct void* return type for page_to_virt() 2016-04-22 10:08:26 +01:00
kernel nios2: Replace fdt_translate_address with of_flat_dt_translate_address 2016-03-31 08:15:45 +08:00
lib nios2: Remove unnecessary #ifdef guards 2015-11-09 10:33:30 +08:00
mm nios2: convert to dma_map_ops 2016-01-20 17:09:18 -08:00
platform nios2: Build infrastructure 2014-12-08 12:56:06 +08:00
Kconfig dma-mapping: always provide the dma_map_ops based implementation 2016-01-20 17:09:18 -08:00
Kconfig.debug nios2: add early printk support 2015-02-10 23:21:08 +08:00
Makefile nios2: enable "make defconfig" 2014-12-17 13:37:09 +08:00