OSDN Git Service

Revert "parisc: Show error if wrong 32/64-bit compiler is being used"
authorHelge Deller <deller@gmx.de>
Sun, 21 Aug 2022 06:12:19 +0000 (08:12 +0200)
committerHelge Deller <deller@gmx.de>
Mon, 22 Aug 2022 09:09:17 +0000 (11:09 +0200)
This reverts commit b160628e9ebcdc85d0db9d7f423c26b3c7c179d0.

There is no need any longer to have this sanity check, because the
previous commit ("parisc: Make CONFIG_64BIT available for ARCH=parisc64
only") prevents that CONFIG_64BIT is set if ARCH==parisc.

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/include/asm/bitops.h

index 56ffd26..0ec9cfc 100644 (file)
 #include <asm/barrier.h>
 #include <linux/atomic.h>
 
-/* compiler build environment sanity checks: */
-#if !defined(CONFIG_64BIT) && defined(__LP64__)
-#error "Please use 'ARCH=parisc' to build the 32-bit kernel."
-#endif
-#if defined(CONFIG_64BIT) && !defined(__LP64__)
-#error "Please use 'ARCH=parisc64' to build the 64-bit kernel."
-#endif
-
 /* See http://marc.theaimsgroup.com/?t=108826637900003 for discussion
  * on use of volatile and __*_bit() (set/clear/change):
  *     *_bit() want use of volatile.