diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2013-05-07 21:51:58 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-05-07 21:51:58 -0400 |
commit | fc0460d0dfb19d4887f509a2573197ca0f417ce9 (patch) | |
tree | 8010389ce90dd6052f5950019128690d012051cf /arch/mips/sgi-ip27/ip27-klnuma.c | |
parent | f6161aa153581da4a3867a2d1a7caf4be19b6ec9 (diff) |
MIPS: IP27: Remove pfn_t.
In the Linux kernel traditionally pfns are represented by an unsigned long.
However a few bits of the SGI IP27 platform code that were ported from
IRIX are using pfn_t for historic reasons. This is conflicting with
KVM's use of pfn_t.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/sgi-ip27/ip27-klnuma.c')
-rw-r--r-- | arch/mips/sgi-ip27/ip27-klnuma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/sgi-ip27/ip27-klnuma.c b/arch/mips/sgi-ip27/ip27-klnuma.c index 1d1919a44e88..7a53b1e28a93 100644 --- a/arch/mips/sgi-ip27/ip27-klnuma.c +++ b/arch/mips/sgi-ip27/ip27-klnuma.c | |||
@@ -114,7 +114,7 @@ void __init replicate_kernel_text() | |||
114 | * data structures on the first couple of pages of the first slot of each | 114 | * data structures on the first couple of pages of the first slot of each |
115 | * node. If this is the case, getfirstfree(node) > getslotstart(node, 0). | 115 | * node. If this is the case, getfirstfree(node) > getslotstart(node, 0). |
116 | */ | 116 | */ |
117 | pfn_t node_getfirstfree(cnodeid_t cnode) | 117 | unsigned long node_getfirstfree(cnodeid_t cnode) |
118 | { | 118 | { |
119 | unsigned long loadbase = REP_BASE; | 119 | unsigned long loadbase = REP_BASE; |
120 | nasid_t nasid = COMPACT_TO_NASID_NODEID(cnode); | 120 | nasid_t nasid = COMPACT_TO_NASID_NODEID(cnode); |