diff options
| author | Robert Richter <robert.richter@amd.com> | 2010-10-25 10:28:14 -0400 | 
|---|---|---|
| committer | Robert Richter <robert.richter@amd.com> | 2010-10-25 10:29:12 -0400 | 
| commit | dbd1e66e04558a582e673bc4a9cd933ce0228d93 (patch) | |
| tree | 85f3633276282cde0a3ac558d988704eaa3e68af /arch/x86/mm/init_32.c | |
| parent | 328b8f1ba50b708a1b3c0acd7c41ee1b356822f6 (diff) | |
| parent | 4a60cfa9457749f7987fd4f3c956dbba5a281129 (diff) | |
Merge commit 'linux-2.6/master' (early part) into oprofile/core
This branch depends on these apic patches:
      apic, x86: Use BIOS settings for IBS and MCE threshold interrupt LVT offsets
      apic, x86: Check if EILVT APIC registers are available (AMD only)
Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'arch/x86/mm/init_32.c')
| -rw-r--r-- | arch/x86/mm/init_32.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/arch/x86/mm/init_32.c b/arch/x86/mm/init_32.c index bca79091b9d6..558f2d332076 100644 --- a/arch/x86/mm/init_32.c +++ b/arch/x86/mm/init_32.c | |||
| @@ -67,7 +67,7 @@ static __init void *alloc_low_page(void) | |||
| 67 | panic("alloc_low_page: ran out of memory"); | 67 | panic("alloc_low_page: ran out of memory"); | 
| 68 | 68 | ||
| 69 | adr = __va(pfn * PAGE_SIZE); | 69 | adr = __va(pfn * PAGE_SIZE); | 
| 70 | memset(adr, 0, PAGE_SIZE); | 70 | clear_page(adr); | 
| 71 | return adr; | 71 | return adr; | 
| 72 | } | 72 | } | 
| 73 | 73 | ||
| @@ -558,7 +558,7 @@ char swsusp_pg_dir[PAGE_SIZE] | |||
| 558 | 558 | ||
| 559 | static inline void save_pg_dir(void) | 559 | static inline void save_pg_dir(void) | 
| 560 | { | 560 | { | 
| 561 | memcpy(swsusp_pg_dir, swapper_pg_dir, PAGE_SIZE); | 561 | copy_page(swsusp_pg_dir, swapper_pg_dir); | 
| 562 | } | 562 | } | 
| 563 | #else /* !CONFIG_ACPI_SLEEP */ | 563 | #else /* !CONFIG_ACPI_SLEEP */ | 
| 564 | static inline void save_pg_dir(void) | 564 | static inline void save_pg_dir(void) | 
