~ubuntu-branches/debian/wheezy/linux-2.6/wheezy

« back to all changes in this revision

Viewing changes to arch/powerpc/platforms/ps3/mm.c

  • Committer: Bazaar Package Importer
  • Author(s): Ben Hutchings, Ben Hutchings, Aurelien Jarno, Martin Michlmayr
  • Date: 2011-04-06 13:53:30 UTC
  • mfrom: (43.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20110406135330-wjufxhd0tvn3zx4z
Tags: 2.6.38-3
[ Ben Hutchings ]
* [ppc64] Add to linux-tools package architectures (Closes: #620124)
* [amd64] Save cr4 to mmu_cr4_features at boot time (Closes: #620284)
* appletalk: Fix bugs introduced when removing use of BKL
* ALSA: Fix yet another race in disconnection
* cciss: Fix lost command issue
* ath9k: Fix kernel panic in AR2427
* ses: Avoid kernel panic when lun 0 is not mapped
* PCI/ACPI: Report ASPM support to BIOS if not disabled from command line

[ Aurelien Jarno ]
* rtlwifi: fix build when PCI is not enabled.

[ Martin Michlmayr ]
* rtlwifi: Eliminate udelay calls with too large values (Closes: #620204)

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#include <linux/kernel.h>
22
22
#include <linux/module.h>
23
23
#include <linux/memory_hotplug.h>
24
 
#include <linux/lmb.h>
 
24
#include <linux/memblock.h>
 
25
#include <linux/slab.h>
25
26
 
26
27
#include <asm/cell-regs.h>
27
28
#include <asm/firmware.h>
34
35
#if defined(DEBUG)
35
36
#define DBG udbg_printf
36
37
#else
37
 
#define DBG pr_debug
 
38
#define DBG pr_devel
38
39
#endif
39
40
 
40
41
enum {
317
318
                return result;
318
319
        }
319
320
 
320
 
        lmb_add(start_addr, map.r1.size);
321
 
        lmb_analyze();
 
321
        memblock_add(start_addr, map.r1.size);
 
322
        memblock_analyze();
322
323
 
323
324
        result = online_pages(start_pfn, nr_pages);
324
325