[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] xen: Fix some over-long source lines.
# HG changeset patch # User Keir Fraser <keir@xxxxxxx> # Date 1359543882 28800 # Node ID 1fe8ecfdf10cc9077fc810364663a0f25a5c5b96 # Parent de3eff977231a85616672685dfcc042730d4b513 xen: Fix some over-long source lines. Signed-off-by: Keir Fraser <keir@xxxxxxx> --- diff -r de3eff977231 -r 1fe8ecfdf10c xen/arch/x86/apic.c --- a/xen/arch/x86/apic.c Wed Jan 30 02:51:04 2013 -0800 +++ b/xen/arch/x86/apic.c Wed Jan 30 03:04:42 2013 -0800 @@ -1042,7 +1042,7 @@ __next: *****************************************************************************/ /* used for system time scaling */ -static u32 __read_mostly bus_scale; /* scaling factor convert ns to bus cycles */ +static u32 __read_mostly bus_scale; /* scaling factor: ns -> bus cycles */ /* * The timer chip is already set up at HZ interrupts per second here, diff -r de3eff977231 -r 1fe8ecfdf10c xen/arch/x86/setup.c --- a/xen/arch/x86/setup.c Wed Jan 30 02:51:04 2013 -0800 +++ b/xen/arch/x86/setup.c Wed Jan 30 03:04:42 2013 -0800 @@ -94,7 +94,8 @@ char __attribute__ ((__section__(".bss.s struct cpuinfo_x86 __read_mostly boot_cpu_data = { 0, 0, 0, 0, -1 }; -unsigned long __read_mostly mmu_cr4_features = X86_CR4_PSE | X86_CR4_PGE | X86_CR4_PAE; +unsigned long __read_mostly mmu_cr4_features = + X86_CR4_PSE | X86_CR4_PGE | X86_CR4_PAE; bool_t __initdata acpi_disabled; bool_t __initdata acpi_force; diff -r de3eff977231 -r 1fe8ecfdf10c xen/arch/x86/time.c --- a/xen/arch/x86/time.c Wed Jan 30 02:51:04 2013 -0800 +++ b/xen/arch/x86/time.c Wed Jan 30 03:04:42 2013 -0800 @@ -219,7 +219,9 @@ static void timer_interrupt(int irq, voi } } -static struct irqaction __read_mostly irq0 = { timer_interrupt, "timer", NULL }; +static struct irqaction __read_mostly irq0 = { + timer_interrupt, "timer", NULL +}; /* ------ Calibrate the TSC ------- * Return processor ticks per second / CALIBRATE_FRAC. diff -r de3eff977231 -r 1fe8ecfdf10c xen/drivers/char/console.c --- a/xen/drivers/char/console.c Wed Jan 30 02:51:04 2013 -0800 +++ b/xen/drivers/char/console.c Wed Jan 30 03:04:42 2013 -0800 @@ -98,8 +98,10 @@ static DEFINE_SPINLOCK(console_lock); static int __read_mostly xenlog_upper_thresh = XENLOG_UPPER_THRESHOLD; static int __read_mostly xenlog_lower_thresh = XENLOG_LOWER_THRESHOLD; -static int __read_mostly xenlog_guest_upper_thresh = XENLOG_GUEST_UPPER_THRESHOLD; -static int __read_mostly xenlog_guest_lower_thresh = XENLOG_GUEST_LOWER_THRESHOLD; +static int __read_mostly xenlog_guest_upper_thresh = + XENLOG_GUEST_UPPER_THRESHOLD; +static int __read_mostly xenlog_guest_lower_thresh = + XENLOG_GUEST_LOWER_THRESHOLD; static void parse_loglvl(char *s); static void parse_guest_loglvl(char *s); @@ -309,7 +311,7 @@ static struct keyhandler dump_console_ri /* CTRL-<switch_char> switches input direction between Xen and DOM0. */ #define switch_code (opt_conswitch[0]-'a'+1) -static int __read_mostly xen_rx = 1; /* FALSE => serial input passed to domain 0. */ +static int __read_mostly xen_rx = 1; /* FALSE => input passed to domain 0. */ static void switch_serial_input(void) { @@ -625,7 +627,7 @@ void __init console_init_preirq(void) void __init console_init_postirq(void) { char *ring; - unsigned int i, order; + unsigned int i, order, memflags; serial_init_postirq(); @@ -633,7 +635,8 @@ void __init console_init_postirq(void) opt_conring_size = num_present_cpus() << (9 + xenlog_lower_thresh); order = get_order_from_bytes(max(opt_conring_size, conring_size)); - while ( (ring = alloc_xenheap_pages(order, MEMF_bits(crashinfo_maxaddr_bits))) == NULL ) + memflags = MEMF_bits(crashinfo_maxaddr_bits); + while ( (ring = alloc_xenheap_pages(order, memflags)) == NULL ) { BUG_ON(order == 0); order--; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |