summaryrefslogtreecommitdiff
path: root/arch/microblaze/include/asm/page.h
diff options
context:
space:
mode:
authorGuo Ren <guoren@linux.alibaba.com>2021-05-30 07:53:28 +0300
committerMichal Simek <michal.simek@xilinx.com>2021-05-31 15:24:25 +0300
commit695efefb2e31cade92864d736596d3fbcd563b60 (patch)
treec26fef457a38f679fba477184e4ba9e7a7d872ea /arch/microblaze/include/asm/page.h
parent6efb943b8616ec53a5e444193dccf1af9ad627b5 (diff)
downloadlinux-695efefb2e31cade92864d736596d3fbcd563b60.tar.xz
microblaze: Cleanup unused functions
These functions haven't been used, so just remove them. The patch just uses grep to verify. Signed-off-by: Guo Ren <guoren@linux.alibaba.com> Reviewed-by: Anup Patel <anup@brainfault.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Michal Simek <monstr@monstr.eu> Link: https://lore.kernel.org/r/1622350408-44875-3-git-send-email-guoren@kernel.org Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze/include/asm/page.h')
-rw-r--r--arch/microblaze/include/asm/page.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/microblaze/include/asm/page.h b/arch/microblaze/include/asm/page.h
index bf681f272f72..ce550978f4fc 100644
--- a/arch/microblaze/include/asm/page.h
+++ b/arch/microblaze/include/asm/page.h
@@ -35,9 +35,6 @@
#define ARCH_SLAB_MINALIGN L1_CACHE_BYTES
-#define PAGE_UP(addr) (((addr)+((PAGE_SIZE)-1))&(~((PAGE_SIZE)-1)))
-#define PAGE_DOWN(addr) ((addr)&(~((PAGE_SIZE)-1)))
-
/*
* PAGE_OFFSET -- the first address of the first page of memory. With MMU
* it is set to the kernel start address (aligned on a page boundary).