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
a8bd4683
Commit
a8bd4683
authored
Jun 14, 2009
by
Paul Mundt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sh: Convert to asm-generic/types.h.
Signed-off-by:
Paul Mundt
<
lethal@linux-sh.org
>
parent
84f83690
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
15 deletions
+1
-15
arch/sh/include/asm/types.h
arch/sh/include/asm/types.h
+1
-15
No files found.
arch/sh/include/asm/types.h
View file @
a8bd4683
#ifndef __ASM_SH_TYPES_H
#ifndef __ASM_SH_TYPES_H
#define __ASM_SH_TYPES_H
#define __ASM_SH_TYPES_H
#include <asm-generic/int-ll64.h>
#include <asm-generic/types.h>
#ifndef __ASSEMBLY__
typedef
unsigned
short
umode_t
;
#endif
/* __ASSEMBLY__ */
/*
/*
* These aren't exported outside the kernel to avoid name space clashes
* These aren't exported outside the kernel to avoid name space clashes
*/
*/
#ifdef __KERNEL__
#ifdef __KERNEL__
#define BITS_PER_LONG 32
#ifndef __ASSEMBLY__
#ifndef __ASSEMBLY__
/* Dma addresses are 32-bits wide. */
typedef
u32
dma_addr_t
;
#ifdef CONFIG_SUPERH32
#ifdef CONFIG_SUPERH32
typedef
u16
insn_size_t
;
typedef
u16
insn_size_t
;
#else
#else
...
@@ -29,7 +16,6 @@ typedef u32 insn_size_t;
...
@@ -29,7 +16,6 @@ typedef u32 insn_size_t;
#endif
#endif
#endif
/* __ASSEMBLY__ */
#endif
/* __ASSEMBLY__ */
#endif
/* __KERNEL__ */
#endif
/* __KERNEL__ */
#endif
/* __ASM_SH_TYPES_H */
#endif
/* __ASM_SH_TYPES_H */
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