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
0d899e26
Commit
0d899e26
authored
Jun 05, 2002
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] Makefile and page.h ARM updates for 2.5.20
parent
a9907091
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
26 deletions
+28
-26
arch/arm/Makefile
arch/arm/Makefile
+26
-24
include/asm-arm/page.h
include/asm-arm/page.h
+2
-2
No files found.
arch/arm/Makefile
View file @
0d899e26
...
@@ -201,15 +201,30 @@ MAKETOOLS =$(MAKE) -C arch/$(ARCH)/tools
...
@@ -201,15 +201,30 @@ MAKETOOLS =$(MAKE) -C arch/$(ARCH)/tools
$(patsubst %,_dir_%, $(SUBDIRS))
:
maketools
$(patsubst %,_dir_%, $(SUBDIRS))
:
maketools
$(patsubst %,_modsubdir_%,$(MOD_DIRS))
:
maketools
$(patsubst %,_modsubdir_%,$(MOD_DIRS))
:
maketools
symlinks
:
archsymlinks
# Update machine arch and proc symlinks if something which affects
# them changed. We use .arch and .proc to indicate when they were
# updated last, otherwise make uses the target directory mtime.
archsymlinks
:
include/asm-arm/.arch
:
$(wildcard include/config/arch/*.h)
$(RM)
include/asm-arm/arch include/asm-arm/proc
@
echo
'Making asm-arm/arch -> asm-arm/arch-
$(INCDIR)
symlink'
(
cd
include/asm-arm
;
ln
-sf
arch-
$(INCDIR)
arch
;
ln
-sf
proc-
$(PROCESSOR)
proc
)
@
rm
-f
include/asm-arm/arch
@
ln
-sf
arch-
$(INCDIR)
include/asm-arm/arch
@
touch
$@
include/asm-arm/.proc
:
$(wildcard include/config/cpu/32.h) $(wildcard include/config/cpu/26.h)
@
echo
'Making asm-arm/proc -> asm-arm/proc-
$(PROCESSOR)
symlink'
@
rm
-f
include/asm-arm/proc
@
ln
-sf
proc-
$(PROCESSOR)
include/asm-arm/proc
@
touch
$@
.hdepend
:
include/asm-arm/.arch include/asm-arm/.proc
vmlinux
:
arch/arm/vmlinux.lds
vmlinux
:
arch/arm/vmlinux.lds
arch/arm/vmlinux.lds
:
$(LDSCRIPT) FORCE
arch/arm/vmlinux.lds
:
arch/arm/Makefile $(LDSCRIPT)
\
$(wildcard include/config/cpu/32.h)
\
$(wildcard include/config/cpu/26.h)
\
$(wildcard include/config/arch/*.h)
@
sed
's/TEXTADDR/
$(TEXTADDR)
/;s/DATAADDR/
$(DATAADDR)
/'
$(LDSCRIPT)
>
$@
@
sed
's/TEXTADDR/
$(TEXTADDR)
/;s/DATAADDR/
$(DATAADDR)
/'
$(LDSCRIPT)
>
$@
bzImage zImage zinstall Image bootpImage install
:
vmlinux
bzImage zImage zinstall Image bootpImage install
:
vmlinux
...
@@ -220,39 +235,26 @@ CLEAN_FILES += \
...
@@ -220,39 +235,26 @@ CLEAN_FILES += \
MRPROPER_FILES
+=
\
MRPROPER_FILES
+=
\
arch
/arm/tools/constants.h
*
\
arch
/arm/tools/constants.h
*
\
include/asm-arm/arch
\
include/asm-arm/arch
include/asm-arm/.arch
\
include/asm-arm/proc
\
include/asm-arm/proc
include/asm-arm/.proc
\
include/asm-arm/constants.h
*
\
include/asm-arm/constants.h
*
\
include/asm-arm/mach-types.h
include/asm-arm/mach-types.h
# We use MRPROPER_FILES and CLEAN_FILES now
# We use MRPROPER_FILES and CLEAN_FILES now
archmrproper
:
archmrproper
:
FORCE
@
/bin/true
@
/bin/true
archclean
:
archclean
:
FORCE
@
$(MAKEBOOT)
clean
@
$(MAKEBOOT)
clean
archdep
:
scripts/mkdep archsymlinks
archdep
:
FORCE
@
$(MAKETOOLS)
dep
@
$(MAKETOOLS)
dep
@
$(MAKEBOOT)
dep
@
$(MAKEBOOT)
dep
# we need version.h
# we need version.h
maketools
:
checkbin include/linux/version.h
maketools
:
include/linux/version.h FORCE
@
$(MAKETOOLS)
all
@
$(MAKETOOLS)
all
# Ensure this is ld "2.9.4" or later
NEW_LINKER
:=
$(
shell
$(LD)
--gc-sections
--version
>
/dev/null 2>&1
;
echo
$$
?
)
ifneq
($(NEW_LINKER),0)
checkbin
:
@
echo
'***
${VERSION}
.
${PATCHLEVEL}
kernels no longer build correctly with old versions of binutils.'
@
echo
'*** Please upgrade your binutils to 2.9.5.'
@
false
else
checkbin
:
@
true
endif
# My testing targets (that short circuit a few dependencies)
# My testing targets (that short circuit a few dependencies)
zImg
:
; @$(MAKEBOOT) zImage
zImg
:
; @$(MAKEBOOT) zImage
Img
:
; @$(MAKEBOOT) Image
Img
:
; @$(MAKEBOOT) Image
...
...
include/asm-arm/page.h
View file @
0d899e26
...
@@ -30,14 +30,14 @@ extern void __cpu_copy_user_page(void *to, const void *from,
...
@@ -30,14 +30,14 @@ extern void __cpu_copy_user_page(void *to, const void *from,
unsigned
long
user
);
unsigned
long
user
);
#endif
#endif
#define clear_user_page(addr,vaddr) \
#define clear_user_page(addr,vaddr
,pg
) \
do { \
do { \
preempt_disable(); \
preempt_disable(); \
__cpu_clear_user_page(addr, vaddr); \
__cpu_clear_user_page(addr, vaddr); \
preempt_enable(); \
preempt_enable(); \
} while (0)
} while (0)
#define copy_user_page(to,from,vaddr
)
\
#define copy_user_page(to,from,vaddr
,pg)
\
do { \
do { \
preempt_disable(); \
preempt_disable(); \
__cpu_copy_user_page(to, from, vaddr); \
__cpu_copy_user_page(to, from, vaddr); \
...
...
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