Skip to content

Commit ad464ff

Browse files
davidhildenbrandakpm00
authored andcommitted
m68k/mm: remove dummy __swp definitions for nommu
The definitions are not required, let's remove them. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: David Hildenbrand <[email protected]> Cc: Geert Uytterhoeven <[email protected]> Cc: Greg Ungerer <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent ad3150f commit ad464ff

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

arch/m68k/include/asm/pgtable_no.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,6 @@
3131
extern void paging_init(void);
3232
#define swapper_pg_dir ((pgd_t *) 0)
3333

34-
#define __swp_type(x) (0)
35-
#define __swp_offset(x) (0)
36-
#define __swp_entry(typ,off) ((swp_entry_t) { ((typ) | ((off) << 7)) })
37-
#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
38-
#define __swp_entry_to_pte(x) ((pte_t) { (x).val })
39-
4034
/*
4135
* ZERO_PAGE is a global shared page that is always zero: used
4236
* for zero-mapped memory areas etc..

0 commit comments

Comments
 (0)