microblaze: Remove duplicate newlines
Drop all duplicate newlines. No functional change. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
This commit is contained in:
@@ -32,7 +32,6 @@ static inline unsigned long ffz(unsigned long word)
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static inline void set_bit(int nr, volatile void *addr)
|
static inline void set_bit(int nr, volatile void *addr)
|
||||||
{
|
{
|
||||||
int * a = (int *) addr;
|
int * a = (int *) addr;
|
||||||
@@ -257,7 +256,6 @@ found_middle:
|
|||||||
#define hweight16(x) generic_hweight16(x)
|
#define hweight16(x) generic_hweight16(x)
|
||||||
#define hweight8(x) generic_hweight8(x)
|
#define hweight8(x) generic_hweight8(x)
|
||||||
|
|
||||||
|
|
||||||
static inline int ext2_set_bit(int nr, volatile void *addr)
|
static inline int ext2_set_bit(int nr, volatile void *addr)
|
||||||
{
|
{
|
||||||
int mask, retval;
|
int mask, retval;
|
||||||
|
@@ -47,7 +47,6 @@ typedef unsigned int __kernel_gid32_t;
|
|||||||
typedef unsigned short __kernel_old_uid_t;
|
typedef unsigned short __kernel_old_uid_t;
|
||||||
typedef unsigned short __kernel_old_gid_t;
|
typedef unsigned short __kernel_old_gid_t;
|
||||||
|
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
#if defined(__KERNEL__) || defined(__USE_ALL)
|
#if defined(__KERNEL__) || defined(__USE_ALL)
|
||||||
int val[2];
|
int val[2];
|
||||||
@@ -56,7 +55,6 @@ typedef struct {
|
|||||||
#endif /* !defined(__KERNEL__) && !defined(__USE_ALL) */
|
#endif /* !defined(__KERNEL__) && !defined(__USE_ALL) */
|
||||||
} __kernel_fsid_t;
|
} __kernel_fsid_t;
|
||||||
|
|
||||||
|
|
||||||
#if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2)
|
#if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2)
|
||||||
|
|
||||||
#undef __FD_SET
|
#undef __FD_SET
|
||||||
|
@@ -16,7 +16,6 @@
|
|||||||
#ifndef __MICROBLAZE_PTRACE_H__
|
#ifndef __MICROBLAZE_PTRACE_H__
|
||||||
#define __MICROBLAZE_PTRACE_H__
|
#define __MICROBLAZE_PTRACE_H__
|
||||||
|
|
||||||
|
|
||||||
/* Microblaze general purpose registers with special meanings. */
|
/* Microblaze general purpose registers with special meanings. */
|
||||||
#define GPR_ZERO 0 /* constant zero */
|
#define GPR_ZERO 0 /* constant zero */
|
||||||
#define GPR_ASM 18 /* reserved for assembler */
|
#define GPR_ASM 18 /* reserved for assembler */
|
||||||
@@ -54,7 +53,6 @@
|
|||||||
#define SR_DIR 21
|
#define SR_DIR 21
|
||||||
#define SR_ASID 23
|
#define SR_ASID 23
|
||||||
|
|
||||||
|
|
||||||
#ifndef __ASSEMBLY__
|
#ifndef __ASSEMBLY__
|
||||||
|
|
||||||
typedef unsigned long microblaze_reg_t;
|
typedef unsigned long microblaze_reg_t;
|
||||||
@@ -74,7 +72,6 @@ struct pt_regs
|
|||||||
microblaze_reg_t single_step; /* 1 if in single step mode */
|
microblaze_reg_t single_step; /* 1 if in single step mode */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#define instruction_pointer(regs) ((regs)->pc)
|
#define instruction_pointer(regs) ((regs)->pc)
|
||||||
#define user_mode(regs) (!(regs)->kernel_mode)
|
#define user_mode(regs) (!(regs)->kernel_mode)
|
||||||
|
|
||||||
@@ -87,7 +84,6 @@ struct pt_regs
|
|||||||
|
|
||||||
#endif /* !__ASSEMBLY__ */
|
#endif /* !__ASSEMBLY__ */
|
||||||
|
|
||||||
|
|
||||||
/* The number of bytes used to store each register. */
|
/* The number of bytes used to store each register. */
|
||||||
#define _PT_REG_SIZE 4
|
#define _PT_REG_SIZE 4
|
||||||
|
|
||||||
|
@@ -40,7 +40,6 @@ extern void *switch_thread (struct thread_struct *last,
|
|||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
|
|
||||||
/* Enable/disable interrupts. */
|
/* Enable/disable interrupts. */
|
||||||
#define __sti() \
|
#define __sti() \
|
||||||
{ \
|
{ \
|
||||||
|
Reference in New Issue
Block a user