Commit 9a24f8bd authored by Linus Torvalds's avatar Linus Torvalds Committed by Jeff Garzik

Cleanups: remove unused label and fix crappy counting code that

didn't work.
parent c5f9cd4f
...@@ -36,12 +36,13 @@ static inline void mach_prepare_counter(void) ...@@ -36,12 +36,13 @@ static inline void mach_prepare_counter(void)
outb_p(CALIBRATE_LATCH >> 8, 0x42); /* MSB of count */ outb_p(CALIBRATE_LATCH >> 8, 0x42); /* MSB of count */
} }
static inline void mach_countup(unsigned long *count) static inline void mach_countup(unsigned long *count_p)
{ {
*count = 0L; unsigned long count = 0;
do { do {
*count++; count++;
} while ((inb_p(0x61) & 0x20) == 0); } while ((inb_p(0x61) & 0x20) == 0);
*count_p = count;
} }
#endif /* !_MACH_TIMER_H */ #endif /* !_MACH_TIMER_H */
...@@ -317,7 +317,6 @@ skip_copy_pmd_range: address = (address + PGDIR_SIZE) & PGDIR_MASK; ...@@ -317,7 +317,6 @@ skip_copy_pmd_range: address = (address + PGDIR_SIZE) & PGDIR_MASK;
get_page(page); get_page(page);
dst->rss++; dst->rss++;
cont_copy_pte_range:
set_pte(dst_pte, pte); set_pte(dst_pte, pte);
pte_chain = page_add_rmap(page, dst_pte, pte_chain = page_add_rmap(page, dst_pte,
pte_chain); pte_chain);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment