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
nexedi
linux
Commits
785e3b8a
Commit
785e3b8a
authored
Aug 03, 2003
by
Mitchell Blank Jr
Committed by
David S. Miller
Aug 03, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: Control debuglocks.c compilation using Makefile rules.
parent
450fa027
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
arch/sparc64/lib/Makefile
arch/sparc64/lib/Makefile
+2
-1
arch/sparc64/lib/debuglocks.c
arch/sparc64/lib/debuglocks.c
+2
-2
No files found.
arch/sparc64/lib/Makefile
View file @
785e3b8a
...
@@ -5,11 +5,12 @@
...
@@ -5,11 +5,12 @@
EXTRA_AFLAGS
:=
-ansi
EXTRA_AFLAGS
:=
-ansi
EXTRA_CFLAGS
:=
-Werror
EXTRA_CFLAGS
:=
-Werror
lib-y
:=
PeeCeeI.o blockops.o
debuglocks.o
strlen.o strncmp.o
\
lib-y
:=
PeeCeeI.o blockops.o strlen.o strncmp.o
\
memscan.o strncpy_from_user.o strlen_user.o memcmp.o checksum.o
\
memscan.o strncpy_from_user.o strlen_user.o memcmp.o checksum.o
\
VIScopy.o VISbzero.o VISmemset.o VIScsum.o VIScsumcopy.o
\
VIScopy.o VISbzero.o VISmemset.o VIScsum.o VIScsumcopy.o
\
VIScsumcopyusr.o VISsave.o atomic.o rwlock.o bitops.o
\
VIScsumcopyusr.o VISsave.o atomic.o rwlock.o bitops.o
\
U3memcpy.o U3copy_from_user.o U3copy_to_user.o
\
U3memcpy.o U3copy_from_user.o U3copy_to_user.o
\
U3copy_in_user.o mcount.o ipcsum.o rwsem.o xor.o
U3copy_in_user.o mcount.o ipcsum.o rwsem.o xor.o
lib-$(CONFIG_DEBUG_SPINLOCK)
+=
debuglocks.o
lib-$(CONFIG_HAVE_DEC_LOCK)
+=
dec_and_lock.o
lib-$(CONFIG_HAVE_DEC_LOCK)
+=
dec_and_lock.o
arch/sparc64/lib/debuglocks.c
View file @
785e3b8a
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
#include <linux/spinlock.h>
#include <linux/spinlock.h>
#include <asm/system.h>
#include <asm/system.h>
#if
defined(CONFIG_SMP) && defined(CONFIG_DEBUG_SPINLOCK)
#if
def CONFIG_SMP
#define GET_CALLER(PC) __asm__ __volatile__("mov %%i7, %0" : "=r" (PC))
#define GET_CALLER(PC) __asm__ __volatile__("mov %%i7, %0" : "=r" (PC))
...
@@ -296,4 +296,4 @@ void _do_write_unlock(rwlock_t *rw)
...
@@ -296,4 +296,4 @@ void _do_write_unlock(rwlock_t *rw)
}
}
}
}
#endif
/* CONFIG_SMP
&& CONFIG_DEBUG_SPINLOCK
*/
#endif
/* CONFIG_SMP */
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