summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/io_32.h
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2014-04-26 09:57:34 +0200
committerDavid S. Miller <davem@davemloft.net>2014-05-02 01:30:20 -0400
commitc46064b4e8fecc469ec2fa606ad0cccf4d2e49c0 (patch)
treee623d7a823215a98c52ec443f7124b6cb2241eab /arch/sparc/include/asm/io_32.h
parent8cf749a8f506b06ebbf090709d64e81af519184b (diff)
downloadtalos-op-linux-c46064b4e8fecc469ec2fa606ad0cccf4d2e49c0.tar.gz
talos-op-linux-c46064b4e8fecc469ec2fa606ad0cccf4d2e49c0.zip
sparc: move page_to_phys to page.h
Preparation for introducing asm-generic/io.h this move was required. In asm-generic page_to_phys is placed in page.h - so do the same here. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include/asm/io_32.h')
-rw-r--r--arch/sparc/include/asm/io_32.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sparc/include/asm/io_32.h b/arch/sparc/include/asm/io_32.h
index c1acbd891cbc..271c94a74aad 100644
--- a/arch/sparc/include/asm/io_32.h
+++ b/arch/sparc/include/asm/io_32.h
@@ -8,8 +8,6 @@
#include <asm/page.h> /* IO address mapping routines need this */
#include <asm-generic/pci_iomap.h>
-#define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT)
-
static inline u32 flip_dword (u32 l)
{
return ((l&0xff)<<24) | (((l>>8)&0xff)<<16) | (((l>>16)&0xff)<<8)| ((l>>24)&0xff);
OpenPOWER on IntegriCloud