summaryrefslogtreecommitdiffstats
path: root/arch/openrisc/include/asm/page.h
Commit message (Collapse)AuthorAgeFilesLines
* openrisc: drop wrongly typed definition of page_to_virt()Ard Biesheuvel2016-04-221-2/+0Star
| | | | | | | | | | To align with generic code and other architectures that expect the macro page_to_virt to produce an expression whose type is 'void*', drop the arch specific definition, which is never referenced anyway. 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>
* asm-generic: page.h: Remove useless get_user_page and free_user_pageChen Gang2016-02-261-3/+0Star
| | | | | | | | | | | They are not symmetric with each other, neither are used in real world (can not be found by grep command in source code root directory), so remove them. Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com> Acked-by: Russell King <rmk+kernel@arm.linux.org.uk> Acked-by: Greg Ungerer <gerg@uclinux.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* OpenRISC: Remove memory_start/end prototypesRichard Weinberger2012-03-061-3/+0Star
| | | | | | | | | OpenRISC does not have global memory_start and memory_end symbols. The prototypes are in vain. Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: Jonas Bonn <jonas@southpole.se>
* openrisc: fix virt_addr_validJonas Bonn2012-03-061-2/+1Star
| | | | | | | | virt_addr_valid() shouldn't be comparing the address to memory_end which is a phys_addr_t. Change this to do like other arches and check that the address falls within a valid page frame. Signed-off-by: Jonas Bonn <jonas@southpole.se>
* OpenRISC: Memory managementJonas Bonn2011-07-221-0/+110
Signed-off-by: Jonas Bonn <jonas@southpole.se> Reviewed-by: Arnd Bergmann <arnd@arndb.de>