Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100921
b: refs/heads/master
c: 5855a1e
h: refs/heads/master
i:
  100919: db136f8
v: v3
  • Loading branch information
Mike Rapoport authored and Russell King committed Jun 2, 2008
1 parent e30c2b4 commit 7391fd2
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 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: 0b0a9df6038752674e54e333cd247c877d29aab8
refs/heads/master: 5855a1e3c0714242b8a1875383b63ccf9bafaab7
26 changes: 14 additions & 12 deletions trunk/arch/arm/mach-pxa/cm-x270-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,20 @@ void __init cmx270_pci_adjust_zones(int node, unsigned long *zone_size,
{
unsigned int sz = SZ_64M >> PAGE_SHIFT;

pr_info("Adjusting zones for CM-x270\n");

/*
* Only adjust if > 64M on current system
*/
if (node || (zone_size[0] <= sz))
return;

zone_size[1] = zone_size[0] - sz;
zone_size[0] = sz;
zhole_size[1] = zhole_size[0];
zhole_size[0] = 0;
if (machine_is_armcore()) {
pr_info("Adjusting zones for CM-x270\n");

/*
* Only adjust if > 64M on current system
*/
if (node || (zone_size[0] <= sz))
return;

zone_size[1] = zone_size[0] - sz;
zone_size[0] = sz;
zhole_size[1] = zhole_size[0];
zhole_size[0] = 0;
}
}

static void cmx270_it8152_irq_demux(unsigned int irq, struct irq_desc *desc)
Expand Down

0 comments on commit 7391fd2

Please sign in to comment.