diff options
| author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-01-12 02:14:03 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-01-12 02:14:03 -0800 |
| commit | c5a379cdb48cf7f77195e2f714c3239fc895c12c (patch) | |
| tree | e2212bc36189d9051ccf1b2c0389002c810465b2 /include | |
| parent | f95e6dae6522e0c403bef92405a3577ebd8baee9 (diff) | |
| parent | 8aaf5f19fd6ada03688a6c465c75eb80f285ebad (diff) | |
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-arm/arch-pxa/corgi.h | 22 | ||||
| -rw-r--r-- | include/asm-arm/cpu.h | 1 | ||||
| -rw-r--r-- | include/asm-arm/mach/irq.h | 14 | ||||
| -rw-r--r-- | include/asm-arm/processor.h | 1 | ||||
| -rw-r--r-- | include/asm-arm/smp.h | 9 | ||||
| -rw-r--r-- | include/asm-arm/tlb.h | 2 |
6 files changed, 36 insertions, 13 deletions
diff --git a/include/asm-arm/arch-pxa/corgi.h b/include/asm-arm/arch-pxa/corgi.h index 9cfd9c47b366..9de52f035ba6 100644 --- a/include/asm-arm/arch-pxa/corgi.h +++ b/include/asm-arm/arch-pxa/corgi.h @@ -15,29 +15,31 @@ /* - * Corgi GPIO definitions + * Corgi (Non Standard) GPIO Definitions */ -#define CORGI_GPIO_KEY_INT (0) /* key interrupt */ +#define CORGI_GPIO_KEY_INT (0) /* Keyboard Interrupt */ #define CORGI_GPIO_AC_IN (1) #define CORGI_GPIO_WAKEUP (3) -#define CORGI_GPIO_AK_INT (4) // Remote Controller -#define CORGI_GPIO_TP_INT (5) /* Touch Panel interrupt */ -#define CORGI_GPIO_nSD_CLK (6) +#define CORGI_GPIO_AK_INT (4) /* IR Controller Interrupt */ +#define CORGI_GPIO_TP_INT (5) /* Touch Panel Interrupt */ #define CORGI_GPIO_nSD_WP (7) -#define CORGI_GPIO_nSD_DETECT (9) +#define CORGI_GPIO_nSD_DETECT (9) /* MMC/SD Card Detect */ #define CORGI_GPIO_nSD_INT (10) #define CORGI_GPIO_MAIN_BAT_LOW (11) #define CORGI_GPIO_BAT_COVER (11) #define CORGI_GPIO_LED_ORANGE (13) -#define CORGI_GPIO_CF_CD (14) +#define CORGI_GPIO_CF_CD (14) /* Compact Flash Card Detect */ #define CORGI_GPIO_CHRG_FULL (16) -#define CORGI_GPIO_CF_IRQ (17) +#define CORGI_GPIO_CF_IRQ (17) /* Compact Flash Interrupt */ +#define CORGI_GPIO_LCDCON_CS (19) /* LCD Control Chip Select */ +#define CORGI_GPIO_MAX1111_CS (20) /* MAX111 Chip Select */ #define CORGI_GPIO_ADC_TEMP_ON (21) #define CORGI_GPIO_IR_ON (22) -#define CORGI_GPIO_SD_PWR (33) +#define CORGI_GPIO_ADS7846_CS (24) /* ADS7846 Chip Select */ +#define CORGI_GPIO_SD_PWR (33) /* MMC/SD Power */ #define CORGI_GPIO_CHRG_ON (38) #define CORGI_GPIO_DISCHARGE_ON (42) -#define CORGI_GPIO_HSYNC (44) +#define CORGI_GPIO_HSYNC (44) /* LCD HSync Pulse */ #define CORGI_GPIO_USB_PULLUP (45) diff --git a/include/asm-arm/cpu.h b/include/asm-arm/cpu.h index 0f99a8881a8b..fcbdd40cb667 100644 --- a/include/asm-arm/cpu.h +++ b/include/asm-arm/cpu.h @@ -17,7 +17,6 @@ struct cpuinfo_arm { struct cpu cpu; #ifdef CONFIG_SMP unsigned int loops_per_jiffy; - unsigned long ipi_count; #endif }; diff --git a/include/asm-arm/mach/irq.h b/include/asm-arm/mach/irq.h index c6ae545e4237..a43a353f6c7b 100644 --- a/include/asm-arm/mach/irq.h +++ b/include/asm-arm/mach/irq.h @@ -47,6 +47,13 @@ struct irqchip { * Set wakeup-enable on the selected IRQ */ int (*wake)(unsigned int, unsigned int); + +#ifdef CONFIG_SMP + /* + * Route an interrupt to a CPU + */ + void (*set_cpu)(struct irqdesc *desc, unsigned int irq, unsigned int cpu); +#endif }; struct irqdesc { @@ -67,6 +74,13 @@ struct irqdesc { unsigned int noautoenable : 1; /* don't automatically enable IRQ */ unsigned int unused :25; + struct proc_dir_entry *procdir; + +#ifdef CONFIG_SMP + cpumask_t affinity; + unsigned int cpu; +#endif + /* * IRQ lock detection */ diff --git a/include/asm-arm/processor.h b/include/asm-arm/processor.h index 06ab5f106a0f..4a9845997a75 100644 --- a/include/asm-arm/processor.h +++ b/include/asm-arm/processor.h @@ -19,7 +19,6 @@ #ifdef __KERNEL__ -#include <asm/atomic.h> #include <asm/ptrace.h> #include <asm/procinfo.h> #include <asm/types.h> diff --git a/include/asm-arm/smp.h b/include/asm-arm/smp.h index 0b012dfc098a..f21fd8f6bcdd 100644 --- a/include/asm-arm/smp.h +++ b/include/asm-arm/smp.h @@ -32,6 +32,13 @@ extern cpumask_t cpu_present_mask; */ #define PROC_CHANGE_PENALTY 15 +struct seq_file; + +/* + * generate IPI list text + */ +extern void show_ipi_list(struct seq_file *p); + /* * Move global data into per-processor storage. */ @@ -46,6 +53,6 @@ extern void smp_cross_call(cpumask_t callmap); * Boot a secondary CPU, and assign it the specified idle task. * This also gives us the initial stack to use for this CPU. */ -extern int __init boot_secondary(unsigned int cpu, struct task_struct *); +extern int boot_secondary(unsigned int cpu, struct task_struct *); #endif /* ifndef __ASM_ARM_SMP_H */ diff --git a/include/asm-arm/tlb.h b/include/asm-arm/tlb.h index ab3cad4fb53d..0843a876b3ce 100644 --- a/include/asm-arm/tlb.h +++ b/include/asm-arm/tlb.h @@ -91,4 +91,6 @@ tlb_is_full_mm(struct mmu_gather *tlb) #define pte_free_tlb(tlb,ptep) pte_free(ptep) #define pmd_free_tlb(tlb,pmdp) pmd_free(pmdp) +#define tlb_migrate_finish(mm) do { } while (0) + #endif |
