Merge tag 'microblaze-v5.14' of git://git.monstr.eu/linux-2.6-microblaze
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Jun 2021 22:36:48 +0000 (15:36 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Jun 2021 22:36:48 +0000 (15:36 -0700)
Pull microblaze updates from Michal Simek:

 - Remove unused PAGE_UP/DOWN macros

 - Fix trivial spelling mistake

* tag 'microblaze-v5.14' of git://git.monstr.eu/linux-2.6-microblaze:
  arch: microblaze: Fix spelling mistake "vesion" -> "version"
  microblaze: Cleanup unused functions

arch/microblaze/Makefile
arch/microblaze/include/asm/page.h

index b41f323e1fde80b3040ba6bd691da396371442c9..6d4af39e389039b407d4f69f994cc2b29a08fb15 100644 (file)
@@ -3,7 +3,7 @@ KBUILD_DEFCONFIG := mmu_defconfig
 
 UTS_SYSNAME = -DUTS_SYSNAME=\"Linux\"
 
-# What CPU vesion are we building for, and crack it open
+# What CPU version are we building for, and crack it open
 # as major.minor.rev
 CPU_VER   := $(shell echo $(CONFIG_XILINX_MICROBLAZE0_HW_VER))
 CPU_MAJOR := $(shell echo $(CPU_VER) | cut -d '.' -f 1)
index bf681f272f7242b5866368a54579f5c2621edae5..ce550978f4fc243b6b6bb4facf06344f5f772c78 100644 (file)
@@ -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).