summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm
diff options
context:
space:
mode:
authorVladimir Murzin <vladimir.murzin@arm.com>2020-01-20 11:42:23 +0100
committerRussell King <rmk+kernel@armlinux.org.uk>2020-01-25 18:18:29 +0000
commit03a575a6a1d27e4e8c954ac0e4d2a8f72b12cbfb (patch)
tree658b3bb8af5864b3705319debb03c679b820970f /arch/arm/include/asm
parentbc420c6ceefbb86cbbc8c00061bd779c17fa6997 (diff)
downloadblackbird-op-linux-03a575a6a1d27e4e8c954ac0e4d2a8f72b12cbfb.tar.gz
blackbird-op-linux-03a575a6a1d27e4e8c954ac0e4d2a8f72b12cbfb.zip
ARM: 8954/1: NOMMU: remove stubs for swapops
Stubs for swapops are not required after 9b98fa229485 (mm: stub out all of swapops.h for !CONFIG_MMU) Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r--arch/arm/include/asm/pgtable-nommu.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/include/asm/pgtable-nommu.h b/arch/arm/include/asm/pgtable-nommu.h
index 010fa1a35a68..30fb2330f57b 100644
--- a/arch/arm/include/asm/pgtable-nommu.h
+++ b/arch/arm/include/asm/pgtable-nommu.h
@@ -42,12 +42,6 @@
#define swapper_pg_dir ((pgd_t *) 0)
-#define __swp_type(x) (0)
-#define __swp_offset(x) (0)
-#define __swp_entry(typ,off) ((swp_entry_t) { ((typ) | ((off) << 7)) })
-#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
-#define __swp_entry_to_pte(x) ((pte_t) { (x).val })
-
typedef pte_t *pte_addr_t;
OpenPOWER on IntegriCloud