Commit Graph
6 Commits
Author SHA1 Message Date
Thomas Gleixner 2874c5fd28 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152
Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license as published by
  the free software foundation either version 2 of the license or at
  your option any later version

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

has been chosen to replace the boilerplate/reference in 3029 file(s).

Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Allison Randal <[email protected]>
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2019-05-30 11:26:32 -07:00
Ard Biesheuvel 86d618cd1d openrisc: drop wrongly typed definition of page_to_virt()
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 <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
2016-04-22 10:08:34 +01:00
Chen Gang 4e0b6ca9da asm-generic: page.h: Remove useless get_user_page and free_user_page
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 <[email protected]>
Acked-by: Russell King <[email protected]>
Acked-by: Greg Ungerer <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
2016-02-26 15:24:55 +01:00
Richard Weinberger fa8d9d74c3 OpenRISC: Remove memory_start/end prototypes
OpenRISC does not have global memory_start and memory_end
symbols.
The prototypes are in vain.

Signed-off-by: Richard Weinberger <[email protected]>
Signed-off-by: Jonas Bonn <[email protected]>
2012-03-06 10:37:21 +01:00
Jonas Bonn 2f099a280e openrisc: fix virt_addr_valid
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 <[email protected]>
2012-03-06 10:36:08 +01:00
Jonas Bonn 61e85e3675 OpenRISC: Memory management
Signed-off-by: Jonas Bonn <[email protected]>
Reviewed-by: Arnd Bergmann <[email protected]>
2011-07-22 18:46:28 +02:00