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
0760a915
Commit
0760a915
authored
Oct 17, 2021
by
Helge Deller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parisc: Drop ifdef __KERNEL__ from non-uapi kernel headers
Signed-off-by:
Helge Deller
<
deller@gmx.de
>
parent
8d90dbfd
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
0 additions
and
31 deletions
+0
-31
arch/parisc/include/asm/bitops.h
arch/parisc/include/asm/bitops.h
+0
-10
arch/parisc/include/asm/futex.h
arch/parisc/include/asm/futex.h
+0
-3
arch/parisc/include/asm/ide.h
arch/parisc/include/asm/ide.h
+0
-4
arch/parisc/include/asm/mckinley.h
arch/parisc/include/asm/mckinley.h
+0
-2
arch/parisc/include/asm/processor.h
arch/parisc/include/asm/processor.h
+0
-4
arch/parisc/include/asm/runway.h
arch/parisc/include/asm/runway.h
+0
-2
arch/parisc/include/asm/thread_info.h
arch/parisc/include/asm/thread_info.h
+0
-4
arch/parisc/include/asm/unaligned.h
arch/parisc/include/asm/unaligned.h
+0
-2
No files found.
arch/parisc/include/asm/bitops.h
View file @
0760a915
...
...
@@ -104,8 +104,6 @@ static __inline__ int test_and_change_bit(int nr, volatile unsigned long * addr)
#include <asm-generic/bitops/non-atomic.h>
#ifdef __KERNEL__
/**
* __ffs - find first bit in word. returns 0 to "BITS_PER_LONG-1".
* @word: The word to search
...
...
@@ -205,16 +203,8 @@ static __inline__ int fls(unsigned int x)
#include <asm-generic/bitops/hweight.h>
#include <asm-generic/bitops/lock.h>
#include <asm-generic/bitops/sched.h>
#endif
/* __KERNEL__ */
#include <asm-generic/bitops/find.h>
#ifdef __KERNEL__
#include <asm-generic/bitops/le.h>
#include <asm-generic/bitops/ext2-atomic-setbit.h>
#endif
/* __KERNEL__ */
#endif
/* _PARISC_BITOPS_H */
arch/parisc/include/asm/futex.h
View file @
0760a915
...
...
@@ -2,8 +2,6 @@
#ifndef _ASM_PARISC_FUTEX_H
#define _ASM_PARISC_FUTEX_H
#ifdef __KERNEL__
#include <linux/futex.h>
#include <linux/uaccess.h>
#include <asm/atomic.h>
...
...
@@ -119,5 +117,4 @@ futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr,
return
0
;
}
#endif
/*__KERNEL__*/
#endif
/*_ASM_PARISC_FUTEX_H*/
arch/parisc/include/asm/ide.h
View file @
0760a915
...
...
@@ -12,8 +12,6 @@
#ifndef __ASM_PARISC_IDE_H
#define __ASM_PARISC_IDE_H
#ifdef __KERNEL__
/* Generic I/O and MEMIO string operations. */
#define __ide_insw insw
...
...
@@ -53,6 +51,4 @@ static __inline__ void __ide_mm_outsl(void __iomem *port, void *addr, u32 count)
}
}
#endif
/* __KERNEL__ */
#endif
/* __ASM_PARISC_IDE_H */
arch/parisc/include/asm/mckinley.h
View file @
0760a915
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef ASM_PARISC_MCKINLEY_H
#define ASM_PARISC_MCKINLEY_H
#ifdef __KERNEL__
/* declared in arch/parisc/kernel/setup.c */
extern
struct
proc_dir_entry
*
proc_mckinley_root
;
#endif
/*__KERNEL__*/
#endif
/*ASM_PARISC_MCKINLEY_H*/
arch/parisc/include/asm/processor.h
View file @
0760a915
...
...
@@ -38,16 +38,12 @@
#define DEFAULT_MAP_BASE DEFAULT_MAP_BASE32
#endif
#ifdef __KERNEL__
/* XXX: STACK_TOP actually should be STACK_BOTTOM for parisc.
* prumpf */
#define STACK_TOP TASK_SIZE
#define STACK_TOP_MAX DEFAULT_TASK_SIZE
#endif
#ifndef __ASSEMBLY__
unsigned
long
calc_max_stack_size
(
unsigned
long
stack_max
);
...
...
arch/parisc/include/asm/runway.h
View file @
0760a915
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef ASM_PARISC_RUNWAY_H
#define ASM_PARISC_RUNWAY_H
#ifdef __KERNEL__
/* declared in arch/parisc/kernel/setup.c */
extern
struct
proc_dir_entry
*
proc_runway_root
;
...
...
@@ -9,5 +8,4 @@ extern struct proc_dir_entry * proc_runway_root;
#define RUNWAY_STATUS 0x10
#define RUNWAY_DEBUG 0x40
#endif
/* __KERNEL__ */
#endif
/* ASM_PARISC_RUNWAY_H */
arch/parisc/include/asm/thread_info.h
View file @
0760a915
...
...
@@ -2,8 +2,6 @@
#ifndef _ASM_PARISC_THREAD_INFO_H
#define _ASM_PARISC_THREAD_INFO_H
#ifdef __KERNEL__
#ifndef __ASSEMBLY__
#include <asm/processor.h>
#include <asm/special_insns.h>
...
...
@@ -80,6 +78,4 @@ struct thread_info {
# define is_32bit_task() (1)
#endif
#endif
/* __KERNEL__ */
#endif
/* _ASM_PARISC_THREAD_INFO_H */
arch/parisc/include/asm/unaligned.h
View file @
0760a915
...
...
@@ -4,10 +4,8 @@
#include <asm-generic/unaligned.h>
#ifdef __KERNEL__
struct
pt_regs
;
void
handle_unaligned
(
struct
pt_regs
*
regs
);
int
check_unaligned
(
struct
pt_regs
*
regs
);
#endif
#endif
/* _ASM_PARISC_UNALIGNED_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