Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
63a1a465
Commit
63a1a465
authored
May 10, 2002
by
Paul Mackerras
Committed by
Paul Mackerras
May 10, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PPC32: Rename ppc_defs.h to asm-offsets.h to ease the transition to kbuild-2.5 later.
parent
88489a03
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
21 additions
and
22 deletions
+21
-22
arch/ppc/Makefile
arch/ppc/Makefile
+1
-1
arch/ppc/kernel/Makefile
arch/ppc/kernel/Makefile
+10
-13
arch/ppc/kernel/asm-offsets.head
arch/ppc/kernel/asm-offsets.head
+0
-0
arch/ppc/kernel/entry.S
arch/ppc/kernel/entry.S
+1
-1
arch/ppc/kernel/head.S
arch/ppc/kernel/head.S
+1
-1
arch/ppc/kernel/head_4xx.S
arch/ppc/kernel/head_4xx.S
+1
-1
arch/ppc/kernel/head_8xx.S
arch/ppc/kernel/head_8xx.S
+1
-1
arch/ppc/kernel/iSeries_head.S
arch/ppc/kernel/iSeries_head.S
+1
-1
arch/ppc/kernel/iSeries_misc.S
arch/ppc/kernel/iSeries_misc.S
+1
-1
arch/ppc/kernel/misc.S
arch/ppc/kernel/misc.S
+1
-1
arch/ppc/mm/Makefile
arch/ppc/mm/Makefile
+2
-0
arch/ppc/mm/hashtable.S
arch/ppc/mm/hashtable.S
+1
-1
No files found.
arch/ppc/Makefile
View file @
63a1a465
...
@@ -111,7 +111,7 @@ $(BOOT_TARGETS): vmlinux
...
@@ -111,7 +111,7 @@ $(BOOT_TARGETS): vmlinux
cp
-f
arch
/ppc/configs/
$
(
@:config
=
defconfig
)
arch
/ppc/defconfig
cp
-f
arch
/ppc/configs/
$
(
@:config
=
defconfig
)
arch
/ppc/defconfig
archclean
:
archclean
:
rm
-f
arch
/ppc/kernel/
{
mk_defs,
ppc_def
s.h,find_name
}
rm
-f
arch
/ppc/kernel/
{
mk_defs,
asm-offset
s.h,find_name
}
rm
-f
arch
/ppc/iSeries/ReleaseData.h
rm
-f
arch
/ppc/iSeries/ReleaseData.h
@
$(MAKEBOOT)
clean
@
$(MAKEBOOT)
clean
...
...
arch/ppc/kernel/Makefile
View file @
63a1a465
...
@@ -100,25 +100,22 @@ obj-$(CONFIG_PPC_ISERIES) += iSeries_misc.o
...
@@ -100,25 +100,22 @@ obj-$(CONFIG_PPC_ISERIES) += iSeries_misc.o
include
$(TOPDIR)/Rules.make
include
$(TOPDIR)/Rules.make
entry.o
:
entry.S
ppc_def
s.h
entry.o
:
entry.S
asm-offset
s.h
misc.o
:
misc.S
ppc_def
s.h
misc.o
:
misc.S
asm-offset
s.h
l2cr.o
:
l2cr.S
ppc_def
s.h
l2cr.o
:
l2cr.S
asm-offset
s.h
head.o
:
head.S
ppc_def
s.h
head.o
:
head.S
asm-offset
s.h
head_4xx.o
:
head_4xx.S
ppc_def
s.h
head_4xx.o
:
head_4xx.S
asm-offset
s.h
head_8xx.o
:
head_8xx.S
ppc_def
s.h
head_8xx.o
:
head_8xx.S
asm-offset
s.h
iSeries_head.o
:
iSeries_head.S
ppc_def
s.h
iSeries_head.o
:
iSeries_head.S
asm-offset
s.h
iSeries_misc.o
:
iSeries_misc.S
ppc_def
s.h
iSeries_misc.o
:
iSeries_misc.S
asm-offset
s.h
ppc_defs.h
:
mk_defs.c ppc_def
s.head
\
asm-offsets.h
:
mk_defs.c asm-offset
s.head
\
$(TOPDIR)/include/asm/mmu.h
\
$(TOPDIR)/include/asm/mmu.h
\
$(TOPDIR)/include/asm/processor.h
\
$(TOPDIR)/include/asm/processor.h
\
$(TOPDIR)/include/asm/pgtable.h
\
$(TOPDIR)/include/asm/pgtable.h
\
$(TOPDIR)/include/asm/ptrace.h
$(TOPDIR)/include/asm/ptrace.h
$(CC)
$(CFLAGS)
-S
mk_defs.c
$(CC)
$(CFLAGS)
-S
mk_defs.c
cp
ppc_defs.head ppc_defs.h
(
cat
asm-offsets.head
;
grep
'^#define'
mk_defs.s
)
>
asm-offsets.h
# for bk, this way we can write to the file even if it's not checked out
chmod
u+w
ppc_defs.h
grep
'^#define'
mk_defs.s
>>
ppc_defs.h
rm
mk_defs.s
rm
mk_defs.s
find_name
:
find_name.c
find_name
:
find_name.c
...
...
arch/ppc/kernel/
ppc_def
s.head
→
arch/ppc/kernel/
asm-offset
s.head
View file @
63a1a465
File moved
arch/ppc/kernel/entry.S
View file @
63a1a465
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
#include <asm/cputable.h>
#include <asm/cputable.h>
#include <asm/thread_info.h>
#include <asm/thread_info.h>
#include <asm/ppc_asm.h>
#include <asm/ppc_asm.h>
#include "
ppc_def
s.h"
#include "
asm-offset
s.h"
#ifdef CONFIG_PPC_ISERIES
#ifdef CONFIG_PPC_ISERIES
#include "iSeries_asm.h"
#include "iSeries_asm.h"
#endif /* CONFIG_PPC_ISERIES */
#endif /* CONFIG_PPC_ISERIES */
...
...
arch/ppc/kernel/head.S
View file @
63a1a465
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
#include <asm/cache.h>
#include <asm/cache.h>
#include <asm/thread_info.h>
#include <asm/thread_info.h>
#include <asm/ppc_asm.h>
#include <asm/ppc_asm.h>
#include "
ppc_def
s.h"
#include "
asm-offset
s.h"
#ifdef CONFIG_APUS
#ifdef CONFIG_APUS
#include <asm/amigappc.h>
#include <asm/amigappc.h>
...
...
arch/ppc/kernel/head_4xx.S
View file @
63a1a465
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
#include <asm/cputable.h>
#include <asm/cputable.h>
#include <asm/thread_info.h>
#include <asm/thread_info.h>
#include <asm/ppc_asm.h>
#include <asm/ppc_asm.h>
#include "
ppc_def
s.h"
#include "
asm-offset
s.h"
/*
Preprocessor
Defines
*/
/*
Preprocessor
Defines
*/
...
...
arch/ppc/kernel/head_8xx.S
View file @
63a1a465
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
#include <asm/cputable.h>
#include <asm/cputable.h>
#include <asm/thread_info.h>
#include <asm/thread_info.h>
#include <asm/ppc_asm.h>
#include <asm/ppc_asm.h>
#include "
ppc_def
s.h"
#include "
asm-offset
s.h"
.
text
.
text
.
globl
_stext
.
globl
_stext
...
...
arch/ppc/kernel/iSeries_head.S
View file @
63a1a465
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
#include <asm/pgtable.h>
#include <asm/pgtable.h>
#include <asm/ppc_asm.h>
#include <asm/ppc_asm.h>
#include <asm/thread_info.h>
#include <asm/thread_info.h>
#include "
ppc_def
s.h"
#include "
asm-offset
s.h"
#include "iSeries_asm.h"
#include "iSeries_asm.h"
...
...
arch/ppc/kernel/iSeries_misc.S
View file @
63a1a465
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
#include <asm/page.h>
#include <asm/page.h>
#include <asm/cache.h>
#include <asm/cache.h>
#include <asm/ppc_asm.h>
#include <asm/ppc_asm.h>
#include "
ppc_def
s.h"
#include "
asm-offset
s.h"
#include "iSeries_asm.h"
#include "iSeries_asm.h"
.
text
.
text
...
...
arch/ppc/kernel/misc.S
View file @
63a1a465
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
#include <asm/mmu.h>
#include <asm/mmu.h>
#include <asm/ppc_asm.h>
#include <asm/ppc_asm.h>
#include <asm/thread_info.h>
#include <asm/thread_info.h>
#include "
ppc_def
s.h"
#include "
asm-offset
s.h"
.
text
.
text
...
...
arch/ppc/mm/Makefile
View file @
63a1a465
...
@@ -15,6 +15,8 @@ ifdef CONFIG_PPC64BRIDGE
...
@@ -15,6 +15,8 @@ ifdef CONFIG_PPC64BRIDGE
EXTRA_AFLAGS
:=
-Wa
,-mppc64bridge
EXTRA_AFLAGS
:=
-Wa
,-mppc64bridge
endif
endif
AFLAGS_hashtable.o
+=
-I
$(TOPDIR)
/arch/
$(ARCH)
/kernel
O_TARGET
:=
mm.o
O_TARGET
:=
mm.o
obj-y
:=
fault.o init.o mem_pieces.o extable.o
\
obj-y
:=
fault.o init.o mem_pieces.o extable.o
\
mmu_context.o pgtable.o
mmu_context.o pgtable.o
...
...
arch/ppc/mm/hashtable.S
View file @
63a1a465
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
#include <asm/cputable.h>
#include <asm/cputable.h>
#include <asm/ppc_asm.h>
#include <asm/ppc_asm.h>
#include <asm/thread_info.h>
#include <asm/thread_info.h>
#include
<kernel/ppc_defs.h>
#include
"asm-offsets.h"
#ifdef CONFIG_SMP
#ifdef CONFIG_SMP
.
comm
mmu_hash_lock
,
4
.
comm
mmu_hash_lock
,
4
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment