[SPARC64]: Kill unused ITAG_MASK macro in ultra.S
authorDavid S. Miller <davem@bnsf.davemloft.net>
Mon, 29 Oct 2007 07:23:07 +0000 (00:23 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 31 Oct 2007 22:30:51 +0000 (15:30 -0700)
It is unused since we went to an I-cache flush that solely used
the 'flush' instruction, and it's presence breaks the build
when PAGE_SIZE is 512KB.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/mm/ultra.S

index 737c26923c0963470a6059f3ed80056b9ac04367..2865c105b6a43927d84e00080ca61e8f571f1c3e 100644 (file)
@@ -120,13 +120,6 @@ __spitfire_flush_tlb_mm_slow:
 /*
  * The following code flushes one page_size worth.
  */
-#if (PAGE_SHIFT == 13)
-#define ITAG_MASK 0xfe
-#elif (PAGE_SHIFT == 16)
-#define ITAG_MASK 0x7fe
-#else
-#error unsupported PAGE_SIZE
-#endif
        .section .kprobes.text, "ax"
        .align          32
        .globl          __flush_icache_page