aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ia64')
-rw-r--r--arch/ia64/include/asm/processor.h2
-rw-r--r--arch/ia64/mm/init.c4
2 files changed, 2 insertions, 4 deletions
diff --git a/arch/ia64/include/asm/processor.h b/arch/ia64/include/asm/processor.h
index e0a899a1a8a6..5a84b3a50741 100644
--- a/arch/ia64/include/asm/processor.h
+++ b/arch/ia64/include/asm/processor.h
@@ -319,7 +319,7 @@ struct thread_struct {
319 regs->loadrs = 0; \ 319 regs->loadrs = 0; \
320 regs->r8 = get_dumpable(current->mm); /* set "don't zap registers" flag */ \ 320 regs->r8 = get_dumpable(current->mm); /* set "don't zap registers" flag */ \
321 regs->r12 = new_sp - 16; /* allocate 16 byte scratch area */ \ 321 regs->r12 = new_sp - 16; /* allocate 16 byte scratch area */ \
322 if (unlikely(!get_dumpable(current->mm))) { \ 322 if (unlikely(get_dumpable(current->mm) != SUID_DUMP_USER)) { \
323 /* \ 323 /* \
324 * Zap scratch regs to avoid leaking bits between processes with different \ 324 * Zap scratch regs to avoid leaking bits between processes with different \
325 * uid/privileges. \ 325 * uid/privileges. \
diff --git a/arch/ia64/mm/init.c b/arch/ia64/mm/init.c
index b6f7f43424ec..88504abf5704 100644
--- a/arch/ia64/mm/init.c
+++ b/arch/ia64/mm/init.c
@@ -357,9 +357,7 @@ int vmemmap_find_next_valid_pfn(int node, int i)
357 357
358 end_address = (unsigned long) &vmem_map[pgdat->node_start_pfn + i]; 358 end_address = (unsigned long) &vmem_map[pgdat->node_start_pfn + i];
359 end_address = PAGE_ALIGN(end_address); 359 end_address = PAGE_ALIGN(end_address);
360 360 stop_address = (unsigned long) &vmem_map[pgdat_end_pfn(pgdat)];
361 stop_address = (unsigned long) &vmem_map[
362 pgdat->node_start_pfn + pgdat->node_spanned_pages];
363 361
364 do { 362 do {
365 pgd_t *pgd; 363 pgd_t *pgd;