[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] mini-os: whitespace
commit e2e17503ee4406dbb0511f8b48ece3aba3cc66a1 Author: Thomas Leonard <talex5@xxxxxxxxx> AuthorDate: Thu Jun 26 12:28:24 2014 +0100 Commit: Ian Campbell <ian.campbell@xxxxxxxxxx> CommitDate: Fri Jun 27 13:38:34 2014 +0100 mini-os: whitespace Signed-off-by: Thomas Leonard <talex5@xxxxxxxxx> Acked-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx> --- extras/mini-os/gnttab.c | 2 +- extras/mini-os/hypervisor.c | 2 +- extras/mini-os/sched.c | 26 +++++++++++++------------- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/extras/mini-os/gnttab.c b/extras/mini-os/gnttab.c index 2f1b3d7..6f25006 100644 --- a/extras/mini-os/gnttab.c +++ b/extras/mini-os/gnttab.c @@ -164,7 +164,7 @@ gnttabop_error(int16_t status) { status = -status; if (status < 0 || status >= ARRAY_SIZE(gnttabop_error_msgs)) - return "bad status"; + return "bad status"; else return gnttabop_error_msgs[status]; } diff --git a/extras/mini-os/hypervisor.c b/extras/mini-os/hypervisor.c index b4688a0..c5de872 100644 --- a/extras/mini-os/hypervisor.c +++ b/extras/mini-os/hypervisor.c @@ -64,7 +64,7 @@ void do_hypervisor_callback(struct pt_regs *regs) l2 &= ~(1UL << l2i); port = (l1i * (sizeof(unsigned long) * 8)) + l2i; - do_event(port, regs); + do_event(port, regs); } } diff --git a/extras/mini-os/sched.c b/extras/mini-os/sched.c index 174945e..99d87b6 100644 --- a/extras/mini-os/sched.c +++ b/extras/mini-os/sched.c @@ -165,28 +165,28 @@ struct _reent *__getreent(void) struct _reent *_reent; if (!threads_started) - _reent = _impure_ptr; + _reent = _impure_ptr; else if (in_callback) - _reent = &callback_reent; + _reent = &callback_reent; else - _reent = &get_current()->reent; + _reent = &get_current()->reent; #ifndef NDEBUG #if defined(__x86_64__) || defined(__x86__) { #ifdef __x86_64__ - register unsigned long sp asm ("rsp"); + register unsigned long sp asm ("rsp"); #else - register unsigned long sp asm ("esp"); + register unsigned long sp asm ("esp"); #endif - if ((sp & (STACK_SIZE-1)) < STACK_SIZE / 16) { - static int overflowing; - if (!overflowing) { - overflowing = 1; - printk("stack overflow\n"); - BUG(); - } - } + if ((sp & (STACK_SIZE-1)) < STACK_SIZE / 16) { + static int overflowing; + if (!overflowing) { + overflowing = 1; + printk("stack overflow\n"); + BUG(); + } + } } #endif #else -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |