Skip to contentSkip to conversation

x86: paravirt_patch_{32|64}.c unification

PATCH Applied Miguel Botón 3 participants 4 messages Jan 6, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: paravirt_patch_{32|64}.c unification

paravirt_patch_{32|64}.c unification.

This patch unifies the code from the paravirt_patcht_32.c and paravirt_patch_64.c files.

I couldn't test this modification but it shouldn't have any bugs (it's a very simple modification).

arch/x86/kernel/Makefile +1 -1
index 5ed68b4..92d9ac6 100644
@@ -66,7 +66,7 @@ obj-$(CONFIG_K8_NB)		+= k8.o
 obj-$(CONFIG_MGEODE_LX)		+= geode_32.o mfgpt_32.o
 
 obj-$(CONFIG_VMI)		+= vmi_32.o vmiclock_32.o
-obj-$(CONFIG_PARAVIRT)		+= paravirt.o paravirt_patch_$(BITS).o
+obj-$(CONFIG_PARAVIRT)		+= paravirt.o paravirt_patch.o
 obj-y				+= pcspeaker.o
 
 obj-$(CONFIG_SCx200)		+= scx200_32.o
arch/x86/kernel/paravirt_patch.c new file +69 -0

69 lines not on this page · raw message

arch/x86/kernel/paravirt_patch_32.c deleted +0 -49

49 lines not on this page · raw message

arch/x86/kernel/paravirt_patch_64.c deleted +0 -56

56 lines not on this page · raw message

Signature · 1 line
	Miguel Botón
Applied
#1 lore raw
Quoted 7 lines · Miguel Botón

paravirt_patch_{32|64}.c unification.

This patch unifies the code from the paravirt_patcht_32.c and paravirt_patch_64.c files.

I couldn't test this modification but it shouldn't have any bugs (it's a very simple modification).

thanks, applied. Will let you know if it fails anywhere.

Ingo

#3 lore raw
Quoted 4 lines · Ingo Molnar

i couldnt apply your mail due to:

User-Agent: KMail/1.9.7

Quoted 8 lines

and due to quoted printables:

=20
#else
=20
=2D# ifdef CONFIG_SMP

Ingo

D'oh. Sorry, this time I'll use Mozilla Thunderbird to send the patch.

arch/x86/kernel/Makefile +1 -1
index 5ed68b4..92d9ac6 100644
@@ -66,7 +66,7 @@ obj-$(CONFIG_K8_NB)		+= k8.o
 obj-$(CONFIG_MGEODE_LX)		+= geode_32.o mfgpt_32.o
 
 obj-$(CONFIG_VMI)		+= vmi_32.o vmiclock_32.o
-obj-$(CONFIG_PARAVIRT)		+= paravirt.o paravirt_patch_$(BITS).o
+obj-$(CONFIG_PARAVIRT)		+= paravirt.o paravirt_patch.o
 obj-y				+= pcspeaker.o
 
 obj-$(CONFIG_SCx200)		+= scx200_32.o
arch/x86/kernel/paravirt_patch.c new file +69 -0

69 lines not on this page · raw message

arch/x86/kernel/paravirt_patch_32.c deleted +0 -49

49 lines not on this page · raw message

arch/x86/kernel/paravirt_patch_64.c deleted +0 -56

56 lines not on this page · raw message

---
Miguel Botón