aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/ubc.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/include/asm/ubc.h')
-rw-r--r--arch/sh/include/asm/ubc.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/sh/include/asm/ubc.h b/arch/sh/include/asm/ubc.h
index 4ca4b771737..dd7878197b6 100644
--- a/arch/sh/include/asm/ubc.h
+++ b/arch/sh/include/asm/ubc.h
@@ -10,8 +10,8 @@
10 */ 10 */
11#ifndef __ASM_SH_UBC_H 11#ifndef __ASM_SH_UBC_H
12#define __ASM_SH_UBC_H 12#define __ASM_SH_UBC_H
13#ifdef __KERNEL__
14 13
14#ifdef __KERNEL__
15#include <cpu/ubc.h> 15#include <cpu/ubc.h>
16 16
17/* User Break Controller */ 17/* User Break Controller */
@@ -60,6 +60,12 @@
60#define BRCR_UBDE (1 << 0) 60#define BRCR_UBDE (1 << 0)
61#endif 61#endif
62 62
63/*
64 * All SH parts have 2 UBC channels. I defy any hardware designer to
65 * invalidate this assertion.
66 */
67#define NR_UBC_CHANNELS 2
68
63#ifndef __ASSEMBLY__ 69#ifndef __ASSEMBLY__
64/* arch/sh/kernel/cpu/ubc.S */ 70/* arch/sh/kernel/cpu/ubc.S */
65extern void ubc_sleep(void); 71extern void ubc_sleep(void);