commit | 44f0257fc316ff4b33aa3438dd8d891b7d6d72b9 | [log] [tgz] |
---|---|---|
author | Thomas Gleixner <tglx@linutronix.de> | Thu Oct 11 11:16:33 2007 +0200 |
committer | Thomas Gleixner <tglx@linutronix.de> | Thu Oct 11 11:16:33 2007 +0200 |
tree | c1a9a571db37d631489f18e1dfe5554874b19027 | |
parent | da957e111bb0c189a4a3bf8a00caaecb59ed94ca [diff] |
i386: move lib Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
diff --git a/arch/i386/Makefile b/arch/i386/Makefile index fe374b6..93492b3 100644 --- a/arch/i386/Makefile +++ b/arch/i386/Makefile
@@ -101,7 +101,7 @@ head-y := arch/i386/kernel/head_32.o arch/i386/kernel/init_task_32.o -libs-y += arch/i386/lib/ +libs-y += arch/x86/lib/ core-y += arch/i386/kernel/ \ arch/i386/mm/ \ $(mcore-y)/ \
diff --git a/arch/i386/lib/Makefile b/arch/x86/lib/Makefile similarity index 65% rename from arch/i386/lib/Makefile rename to arch/x86/lib/Makefile index 2b1547e..2d7d724 100644 --- a/arch/i386/lib/Makefile +++ b/arch/x86/lib/Makefile
@@ -1,5 +1,5 @@ ifeq ($(CONFIG_X86_32),y) -include ${srctree}/arch/i386/lib/Makefile_32 +include ${srctree}/arch/x86/lib/Makefile_32 else include ${srctree}/arch/x86_64/lib/Makefile_64 endif
diff --git a/arch/i386/lib/Makefile_32 b/arch/x86/lib/Makefile_32 similarity index 100% rename from arch/i386/lib/Makefile_32 rename to arch/x86/lib/Makefile_32
diff --git a/arch/i386/lib/bitops_32.c b/arch/x86/lib/bitops_32.c similarity index 100% rename from arch/i386/lib/bitops_32.c rename to arch/x86/lib/bitops_32.c
diff --git a/arch/i386/lib/checksum_32.S b/arch/x86/lib/checksum_32.S similarity index 100% rename from arch/i386/lib/checksum_32.S rename to arch/x86/lib/checksum_32.S
diff --git a/arch/i386/lib/delay_32.c b/arch/x86/lib/delay_32.c similarity index 100% rename from arch/i386/lib/delay_32.c rename to arch/x86/lib/delay_32.c
diff --git a/arch/i386/lib/getuser_32.S b/arch/x86/lib/getuser_32.S similarity index 100% rename from arch/i386/lib/getuser_32.S rename to arch/x86/lib/getuser_32.S
diff --git a/arch/i386/lib/memcpy_32.c b/arch/x86/lib/memcpy_32.c similarity index 100% rename from arch/i386/lib/memcpy_32.c rename to arch/x86/lib/memcpy_32.c
diff --git a/arch/i386/lib/mmx_32.c b/arch/x86/lib/mmx_32.c similarity index 100% rename from arch/i386/lib/mmx_32.c rename to arch/x86/lib/mmx_32.c
diff --git a/arch/i386/lib/msr-on-cpu.c b/arch/x86/lib/msr-on-cpu.c similarity index 100% rename from arch/i386/lib/msr-on-cpu.c rename to arch/x86/lib/msr-on-cpu.c
diff --git a/arch/i386/lib/putuser_32.S b/arch/x86/lib/putuser_32.S similarity index 100% rename from arch/i386/lib/putuser_32.S rename to arch/x86/lib/putuser_32.S
diff --git a/arch/i386/lib/semaphore_32.S b/arch/x86/lib/semaphore_32.S similarity index 100% rename from arch/i386/lib/semaphore_32.S rename to arch/x86/lib/semaphore_32.S
diff --git a/arch/i386/lib/string_32.c b/arch/x86/lib/string_32.c similarity index 100% rename from arch/i386/lib/string_32.c rename to arch/x86/lib/string_32.c
diff --git a/arch/i386/lib/strstr_32.c b/arch/x86/lib/strstr_32.c similarity index 100% rename from arch/i386/lib/strstr_32.c rename to arch/x86/lib/strstr_32.c
diff --git a/arch/i386/lib/usercopy_32.c b/arch/x86/lib/usercopy_32.c similarity index 100% rename from arch/i386/lib/usercopy_32.c rename to arch/x86/lib/usercopy_32.c
diff --git a/arch/x86_64/lib/Makefile b/arch/x86_64/lib/Makefile index 2b1547e..2d7d724 100644 --- a/arch/x86_64/lib/Makefile +++ b/arch/x86_64/lib/Makefile
@@ -1,5 +1,5 @@ ifeq ($(CONFIG_X86_32),y) -include ${srctree}/arch/i386/lib/Makefile_32 +include ${srctree}/arch/x86/lib/Makefile_32 else include ${srctree}/arch/x86_64/lib/Makefile_64 endif
diff --git a/arch/x86_64/lib/msr-on-cpu.c b/arch/x86_64/lib/msr-on-cpu.c index 47e0ec4..5672d41 100644 --- a/arch/x86_64/lib/msr-on-cpu.c +++ b/arch/x86_64/lib/msr-on-cpu.c
@@ -1 +1 @@ -#include "../../i386/lib/msr-on-cpu.c" +#include "../../x86/lib/msr-on-cpu.c"