diff options
Diffstat (limited to 'arch/tile/include')
| -rw-r--r-- | arch/tile/include/asm/Kbuild | 1 | ||||
| -rw-r--r-- | arch/tile/include/asm/compat.h | 62 | ||||
| -rw-r--r-- | arch/tile/include/asm/dma-mapping.h | 20 | ||||
| -rw-r--r-- | arch/tile/include/asm/thread_info.h | 3 | ||||
| -rw-r--r-- | arch/tile/include/uapi/asm/siginfo.h | 8 | 
5 files changed, 0 insertions, 94 deletions
| diff --git a/arch/tile/include/asm/Kbuild b/arch/tile/include/asm/Kbuild index d28d2b8932c7..414dfc3a1808 100644 --- a/arch/tile/include/asm/Kbuild +++ b/arch/tile/include/asm/Kbuild @@ -1,6 +1,5 @@  generic-y += bug.h  generic-y += bugs.h -generic-y += clkdev.h  generic-y += emergency-restart.h  generic-y += exec.h  generic-y += extable.h diff --git a/arch/tile/include/asm/compat.h b/arch/tile/include/asm/compat.h index 62a7b83025dd..769ff6ac0bf5 100644 --- a/arch/tile/include/asm/compat.h +++ b/arch/tile/include/asm/compat.h @@ -110,68 +110,6 @@ struct compat_flock64 {  typedef u32               compat_sigset_word; -typedef union compat_sigval { -	compat_int_t	sival_int; -	compat_uptr_t	sival_ptr; -} compat_sigval_t; - -#define COMPAT_SI_PAD_SIZE	(128/sizeof(int) - 3) - -typedef struct compat_siginfo { -	int si_signo; -	int si_errno; -	int si_code; - -	union { -		int _pad[COMPAT_SI_PAD_SIZE]; - -		/* kill() */ -		struct { -			unsigned int _pid;	/* sender's pid */ -			unsigned int _uid;	/* sender's uid */ -		} _kill; - -		/* POSIX.1b timers */ -		struct { -			compat_timer_t _tid;	/* timer id */ -			int _overrun;		/* overrun count */ -			compat_sigval_t _sigval;	/* same as below */ -			int _sys_private;	/* not to be passed to user */ -			int _overrun_incr;	/* amount to add to overrun */ -		} _timer; - -		/* POSIX.1b signals */ -		struct { -			unsigned int _pid;	/* sender's pid */ -			unsigned int _uid;	/* sender's uid */ -			compat_sigval_t _sigval; -		} _rt; - -		/* SIGCHLD */ -		struct { -			unsigned int _pid;	/* which child */ -			unsigned int _uid;	/* sender's uid */ -			int _status;		/* exit code */ -			compat_clock_t _utime; -			compat_clock_t _stime; -		} _sigchld; - -		/* SIGILL, SIGFPE, SIGSEGV, SIGBUS */ -		struct { -			unsigned int _addr;	/* faulting insn/memory ref. */ -#ifdef __ARCH_SI_TRAPNO -			int _trapno;	/* TRAP # which caused the signal */ -#endif -		} _sigfault; - -		/* SIGPOLL */ -		struct { -			int _band;	/* POLL_IN, POLL_OUT, POLL_MSG */ -			int _fd; -		} _sigpoll; -	} _sifields; -} compat_siginfo_t; -  #define COMPAT_OFF_T_MAX	0x7fffffff  struct compat_ipc64_perm { diff --git a/arch/tile/include/asm/dma-mapping.h b/arch/tile/include/asm/dma-mapping.h index 97ad62878290..d25fce101fc0 100644 --- a/arch/tile/include/asm/dma-mapping.h +++ b/arch/tile/include/asm/dma-mapping.h @@ -44,26 +44,6 @@ static inline void set_dma_offset(struct device *dev, dma_addr_t off)  	dev->archdata.dma_offset = off;  } -static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) -{ -	return paddr; -} - -static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr) -{ -	return daddr; -} - -static inline void dma_mark_clean(void *addr, size_t size) {} - -static inline bool dma_capable(struct device *dev, dma_addr_t addr, size_t size) -{ -	if (!dev->dma_mask) -		return 0; - -	return addr + size - 1 <= *dev->dma_mask; -} -  #define HAVE_ARCH_DMA_SET_MASK 1  int dma_set_mask(struct device *dev, u64 mask); diff --git a/arch/tile/include/asm/thread_info.h b/arch/tile/include/asm/thread_info.h index b7659b8f1117..2adcacd85749 100644 --- a/arch/tile/include/asm/thread_info.h +++ b/arch/tile/include/asm/thread_info.h @@ -59,9 +59,6 @@ struct thread_info {  	.align_ctl	= 0,			\  } -#define init_thread_info	(init_thread_union.thread_info) -#define init_stack		(init_thread_union.stack) -  #endif /* !__ASSEMBLY__ */  #if PAGE_SIZE < 8192 diff --git a/arch/tile/include/uapi/asm/siginfo.h b/arch/tile/include/uapi/asm/siginfo.h index f234d24fff55..a812fcbf4267 100644 --- a/arch/tile/include/uapi/asm/siginfo.h +++ b/arch/tile/include/uapi/asm/siginfo.h @@ -24,12 +24,4 @@  #include <asm-generic/siginfo.h> -/* - * Additional Tile-specific SIGILL si_codes - */ -#define ILL_DBLFLT	9	/* double fault */ -#define ILL_HARDWALL	10	/* user networks hardwall violation */ -#undef NSIGILL -#define NSIGILL		10 -  #endif /* _ASM_TILE_SIGINFO_H */ |