diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-11 19:06:54 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-11 19:06:54 -0400 |
| commit | 00c3e276c54ca7e102f1b771715da76b4e86a098 (patch) | |
| tree | 6563a263166bb5acf1945914e3770260dcc38d65 /mm/memory_hotplug.c | |
| parent | 605cd83694fa175894a1c63191f1f10c449b93a8 (diff) | |
| parent | 29f6738609e40227dabcc63bfb3b84b3726a75bd (diff) | |
Merge branch 'akpm' (Andrew's patch-bomb)
Merge random patches from Andrew Morton.
* Merge emailed patches from Andrew Morton <akpm@linux-foundation.org>: (32 commits)
memblock: free allocated memblock_reserved_regions later
mm: sparse: fix usemap allocation above node descriptor section
mm: sparse: fix section usemap placement calculation
xtensa: fix incorrect memset
shmem: cleanup shmem_add_to_page_cache
shmem: fix negative rss in memcg memory.stat
tmpfs: revert SEEK_DATA and SEEK_HOLE
drivers/rtc/rtc-twl.c: fix threaded IRQ to use IRQF_ONESHOT
fat: fix non-atomic NFS i_pos read
MAINTAINERS: add OMAP CPUfreq driver to OMAP Power Management section
sgi-xp: nested calls to spin_lock_irqsave()
fs: ramfs: file-nommu: add SetPageUptodate()
drivers/rtc/rtc-mxc.c: fix irq enabled interrupts warning
mm/memory_hotplug.c: release memory resources if hotadd_new_pgdat() fails
h8300/uaccess: add mising __clear_user()
h8300/uaccess: remove assignment to __gu_val in unhandled case of get_user()
h8300/time: add missing #include <asm/irq_regs.h>
h8300/signal: fix typo "statis"
h8300/pgtable: add missing #include <asm-generic/pgtable.h>
drivers/rtc/rtc-ab8500.c: ensure correct probing of the AB8500 RTC when Device Tree is enabled
...
Diffstat (limited to 'mm/memory_hotplug.c')
| -rw-r--r-- | mm/memory_hotplug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index 0d7e3ec8e0f3..427bb291dd0f 100644 --- a/mm/memory_hotplug.c +++ b/mm/memory_hotplug.c | |||
| @@ -618,7 +618,7 @@ int __ref add_memory(int nid, u64 start, u64 size) | |||
| 618 | pgdat = hotadd_new_pgdat(nid, start); | 618 | pgdat = hotadd_new_pgdat(nid, start); |
| 619 | ret = -ENOMEM; | 619 | ret = -ENOMEM; |
| 620 | if (!pgdat) | 620 | if (!pgdat) |
| 621 | goto out; | 621 | goto error; |
| 622 | new_pgdat = 1; | 622 | new_pgdat = 1; |
| 623 | } | 623 | } |
| 624 | 624 | ||
