Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11563
b: refs/heads/master
c: 3a5f8c5
h: refs/heads/master
i:
  11561: 0b5a937
  11559: 91685f1
v: v3
  • Loading branch information
Stephen Rothwell committed Oct 12, 2005
1 parent a676850 commit f157ef1
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f255f0dd1b4ef7af0e48f5603d1f27ee4bad5848
refs/heads/master: 3a5f8c5f788d68e325d9fe3c26f4df5a5aee838a
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ config SCHED_SMT

config PROC_DEVICETREE
bool "Support for Open Firmware device tree in /proc"
depends on PPC_OF && PROC_FS
depends on (PPC_OF || PPC_ISERIES) && PROC_FS
help
This option adds a device-tree directory under /proc which contains
an image of the device tree that the kernel copies from Open
Expand Down
4 changes: 4 additions & 0 deletions trunk/arch/powerpc/mm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
# Makefile for the linux ppc-specific parts of the memory manager.
#

ifeq ($(CONFIG_PPC64),y)
EXTRA_CFLAGS += -mno-minimal-toc
endif

obj-y := fault.o mem.o lmb.o
obj-$(CONFIG_PPC32) += init_32.o pgtable_32.o mmu_context_32.o \
tlb_32.o
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/powerpc/platforms/iseries/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
EXTRA_CFLAGS += -mno-minimal-toc

obj-y += hvlog.o hvlpconfig.o lpardata.o setup.o mf.o lpevents.o \
hvcall.o proc.o htab.o iommu.o misc.o
obj-$(CONFIG_PCI) += pci.o irq.o vpdinfo.o
Expand Down
6 changes: 1 addition & 5 deletions trunk/arch/powerpc/platforms/iseries/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,6 @@ static void __init build_iSeries_Memory_Map(void)
u32 loadAreaFirstChunk, loadAreaLastChunk, loadAreaSize;
u32 nextPhysChunk;
u32 hptFirstChunk, hptLastChunk, hptSizeChunks, hptSizePages;
u32 num_ptegs;
u32 totalChunks,moreChunks;
u32 currChunk, thisChunk, absChunk;
u32 currDword;
Expand Down Expand Up @@ -493,10 +492,7 @@ static void __init build_iSeries_Memory_Map(void)
printk("HPT absolute addr = %016lx, size = %dK\n",
chunk_to_addr(hptFirstChunk), hptSizeChunks * 256);

/* Fill in the hashed page table hash mask */
num_ptegs = hptSizePages *
(PAGE_SIZE / (sizeof(hpte_t) * HPTES_PER_GROUP));
htab_hash_mask = num_ptegs - 1;
ppc64_pft_size = __ilog2(hptSizePages * PAGE_SIZE);

/*
* The actual hashed page table is in the hypervisor,
Expand Down

0 comments on commit f157ef1

Please sign in to comment.