Signed-off-by: Anton Blanchard <[email protected]>
---
Makefile | 6 ++++++
contrib/tlbmiss_cost.sh | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index ce26bdb..70ca8ec 100644
--- a/Makefile
+++ b/Makefile
@@ -47,6 +47,11 @@ CC32 = $(CC) -m32
ELF32 = elf32ppclinux
endif
else
+ifeq ($(ARCH),ppc64le)
+CC64 = $(CC) -m64
+ELF64 = elf64lppc
+TMPLIB64 = lib64
+else
ifeq ($(ARCH),powerpc)
CC32 = $(CC) -m32
ELF32 = elf32ppclinux
@@ -108,6 +113,7 @@ endif
endif
endif
endif
+endif
ifdef CC32
OBJDIRS += obj32
diff --git a/contrib/tlbmiss_cost.sh b/contrib/tlbmiss_cost.sh
index 1f1e234..8fbf798 100755
--- a/contrib/tlbmiss_cost.sh
+++ b/contrib/tlbmiss_cost.sh
@@ -44,7 +44,7 @@ cpumhz() {
FNAME="cpu MHz"
FINDEX=4
case "`uname -m`" in
- ppc64)
+ ppc64|ppc64le)
FNAME="clock"
FINDEX=3
;;
--
1.7.9.5
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Libhugetlbfs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel