[SPARC64]: Use ARRAY_SIZE macro
[pandora-kernel.git] / arch / sparc64 / mm / fault.c
index 3be278d..6f0539a 100644 (file)
@@ -30,8 +30,6 @@
 #include <asm/sections.h>
 #include <asm/kdebug.h>
 
-#define ELEMENTS(arr) (sizeof (arr)/sizeof (arr[0]))
-
 /*
  * To debug kernel to catch accesses to certain virtual/physical addresses.
  * Mode = 0 selects physical watchpoints, mode = 1 selects virtual watchpoints.