All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Wright <chrisw@osdl.org>
To: xen-devel@lists.xensource.com
Subject: [PATCH 1/2] i386 whitespace cleanup in Linux sparse tree
Date: Tue, 19 Apr 2005 14:52:46 -0700	[thread overview]
Message-ID: <20050419215246.GC493@shell0.pdx.osdl.net> (raw)
In-Reply-To: <20050419215116.GB493@shell0.pdx.osdl.net>

Eliminate extraneous whitespace changes in i386 portion of Linux
sparse patch.

Signed-off-by: Chris Wright <chrisw@osdl.org>
---

 linux-2.6.11-xen-sparse/arch/xen/i386/Kconfig                   |   26 +++++-----
 linux-2.6.11-xen-sparse/arch/xen/i386/kernel/cpu/common.c       |    2 
 linux-2.6.11-xen-sparse/arch/xen/i386/kernel/head.S             |    4 -
 linux-2.6.11-xen-sparse/arch/xen/i386/kernel/timers/timer_tsc.c |    4 -
 linux-2.6.11-xen-sparse/arch/xen/i386/mm/fault.c                |    8 +--
 linux-2.6.11-xen-sparse/arch/xen/i386/pci/direct.c              |    8 +--
 linux-2.6.11-xen-sparse/arch/xen/i386/pci/irq.c                 |    2 
 7 files changed, 26 insertions(+), 28 deletions(-)

===== linux-2.6.11-xen-sparse/arch/xen/i386/Kconfig 1.18 vs edited =====
--- 1.18/linux-2.6.11-xen-sparse/arch/xen/i386/Kconfig	2005-04-06 01:37:08 -07:00
+++ edited/linux-2.6.11-xen-sparse/arch/xen/i386/Kconfig	2005-04-15 14:40:32 -07:00
@@ -457,22 +457,22 @@ config PREEMPT_BKL
 #	   enters thermal throttling.
 
 config MICROCODE
-	 tristate "/dev/cpu/microcode - Intel IA32 CPU microcode support"
+	tristate "/dev/cpu/microcode - Intel IA32 CPU microcode support"
 	 depends on XEN_PRIVILEGED_GUEST
-	 ---help---
-	   If you say Y here and also to "/dev file system support" in the
-	   'File systems' section, you will be able to update the microcode on
-	   Intel processors in the IA32 family, e.g. Pentium Pro, Pentium II,
-	   Pentium III, Pentium 4, Xeon etc.  You will obviously need the
-	   actual microcode binary data itself which is not shipped with the
-	   Linux kernel.
+	---help---
+	  If you say Y here and also to "/dev file system support" in the
+	  'File systems' section, you will be able to update the microcode on
+	  Intel processors in the IA32 family, e.g. Pentium Pro, Pentium II,
+	  Pentium III, Pentium 4, Xeon etc.  You will obviously need the
+	  actual microcode binary data itself which is not shipped with the
+	  Linux kernel.
 
-	   For latest news and information on obtaining all the required
-	   ingredients for this driver, check:
-	   <http://www.urbanmyth.org/microcode/>.
+	  For latest news and information on obtaining all the required
+	  ingredients for this driver, check:
+	  <http://www.urbanmyth.org/microcode/>.
 
-	   To compile this driver as a module, choose M here: the
-	   module will be called microcode.
+	  To compile this driver as a module, choose M here: the
+	  module will be called microcode.
 
 #config X86_MSR
 #	 tristate "/dev/cpu/*/msr - Model-specific register support"
===== linux-2.6.11-xen-sparse/arch/xen/i386/kernel/head.S 1.17 vs edited =====
--- 1.17/linux-2.6.11-xen-sparse/arch/xen/i386/kernel/head.S	2005-03-30 02:57:33 -08:00
+++ edited/linux-2.6.11-xen-sparse/arch/xen/i386/kernel/head.S	2005-04-15 14:40:32 -07:00
@@ -67,10 +67,10 @@ checkCPUtype:
 
 	incb ready
 
-	xorl %eax,%eax		# Clear FS/GS and LDT
+	xorl %eax,%eax			# Clear FS/GS and LDT
 	movl %eax,%fs
 	movl %eax,%gs
-	cld		# gcc2 wants the direction flag cleared at all times
+	cld			# gcc2 wants the direction flag cleared at all times
 
 #ifdef CONFIG_SMP
 	movb ready, %cl	
===== linux-2.6.11-xen-sparse/arch/xen/i386/kernel/cpu/common.c 1.18 vs edited =====
--- 1.18/linux-2.6.11-xen-sparse/arch/xen/i386/kernel/cpu/common.c	2005-04-04 08:38:39 -07:00
+++ edited/linux-2.6.11-xen-sparse/arch/xen/i386/kernel/cpu/common.c	2005-04-15 14:46:01 -07:00
@@ -600,7 +600,7 @@ void __init cpu_init (void)
 	 * Set up the per-thread TLS descriptor cache:
 	 */
 	memcpy(thread->tls_array, &get_cpu_gdt_table(cpu)[GDT_ENTRY_TLS_MIN],
-	    GDT_ENTRY_TLS_ENTRIES * 8);
+		GDT_ENTRY_TLS_ENTRIES * 8);
 
 	cpu_gdt_init(&cpu_gdt_descr[cpu]);
 
===== linux-2.6.11-xen-sparse/arch/xen/i386/kernel/timers/timer_tsc.c 1.19 vs edited =====
--- 1.19/linux-2.6.11-xen-sparse/arch/xen/i386/kernel/timers/timer_tsc.c	2005-03-09 13:38:06 -08:00
+++ edited/linux-2.6.11-xen-sparse/arch/xen/i386/kernel/timers/timer_tsc.c	2005-04-15 14:40:33 -07:00
@@ -266,7 +266,7 @@ static unsigned long cpu_khz_ref = 0;
 
 static int
 time_cpufreq_notifier(struct notifier_block *nb, unsigned long val,
-		      void *data)
+		       void *data)
 {
 	struct cpufreq_freqs *freq = data;
 
@@ -338,7 +338,7 @@ static int init_tsc(char* override)
 
 	/* (10^6 * 2^32) / cpu_hz = (10^3 * 2^32) / cpu_khz =
 	   (2^32 * 1 / (clocks/us)) */
-	{	
+	{
 		unsigned long eax=0, edx=1000;
 		__asm__("divl %2"
 		    :"=a" (fast_gettimeoffset_quotient), "=d" (edx)
===== linux-2.6.11-xen-sparse/arch/xen/i386/mm/fault.c 1.18 vs edited =====
--- 1.18/linux-2.6.11-xen-sparse/arch/xen/i386/mm/fault.c	2005-04-04 08:38:39 -07:00
+++ edited/linux-2.6.11-xen-sparse/arch/xen/i386/mm/fault.c	2005-04-15 14:40:34 -07:00
@@ -229,10 +229,10 @@ fastcall void do_page_fault(struct pt_re
 	error_code |= (regs->xcs & 2) << 1;
 	if (regs->eflags & X86_EFLAGS_VM)
 		error_code |= 4;
-		
- 	if (notify_die(DIE_PAGE_FAULT, "page fault", regs, error_code, 14,
- 					SIGSEGV) == NOTIFY_STOP)
- 		return;
+
+	if (notify_die(DIE_PAGE_FAULT, "page fault", regs, error_code, 14,
+					SIGSEGV) == NOTIFY_STOP)
+		return;
 #if 0
 	/* It's safe to allow irq's after cr2 has been saved */
 	if (regs->eflags & (X86_EFLAGS_IF|VM_MASK))
===== linux-2.6.11-xen-sparse/arch/xen/i386/pci/direct.c 1.9 vs edited =====
--- 1.9/linux-2.6.11-xen-sparse/arch/xen/i386/pci/direct.c	2005-03-09 13:38:06 -08:00
+++ edited/linux-2.6.11-xen-sparse/arch/xen/i386/pci/direct.c	2005-04-15 14:40:34 -07:00
@@ -71,13 +71,11 @@ struct pci_raw_ops pci_direct_xen = {
 	.write =	pci_conf_write,
 };
 
-
 static int __init pci_direct_init(void)
 {
-
-        printk(KERN_INFO "PCI: Using configuration type Xen\n");
-        raw_pci_ops = &pci_direct_xen;
-        return 0;
+	printk(KERN_INFO "PCI: Using configuration type Xen\n");
+	raw_pci_ops = &pci_direct_xen;
+	return 0;
 }
 
 arch_initcall(pci_direct_init);
===== linux-2.6.11-xen-sparse/arch/xen/i386/pci/irq.c 1.12 vs edited =====
--- 1.12/linux-2.6.11-xen-sparse/arch/xen/i386/pci/irq.c	2005-03-10 16:16:04 -08:00
+++ edited/linux-2.6.11-xen-sparse/arch/xen/i386/pci/irq.c	2005-04-15 14:40:34 -07:00
@@ -93,7 +93,7 @@ void pcibios_penalize_isa_irq(int irq)
 static int pirq_enable_irq(struct pci_dev *dev)
 {
 	int err;
-	u8  pin;
+	u8 pin;
 	physdev_op_t op;
 
 	/* Inform Xen that we are going to use this device. */

  reply	other threads:[~2005-04-19 21:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-19 21:51 [PATCH 0/2] whitespace cleanup in Linux sparse tree Chris Wright
2005-04-19 21:52 ` Chris Wright [this message]
2005-04-19 21:53 ` [PATCH 2/2] x86_64 " Chris Wright

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050419215246.GC493@shell0.pdx.osdl.net \
    --to=chrisw@osdl.org \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.