--- zzzz-none-000/linux-2.4.17/kernel/ksyms.c 2001-12-21 17:42:04.000000000 +0000 +++ sangam-fb-401/linux-2.4.17/kernel/ksyms.c 2005-04-05 07:07:46.000000000 +0000 @@ -47,7 +47,11 @@ #include #include #include +#include #include +#ifdef CONFIG_ILATENCY +#include +#endif #if defined(CONFIG_PROC_FS) #include @@ -56,12 +60,16 @@ #include #endif +#ifdef CONFIG_TI_CUSTOM_SYS_CALLS +#include +#endif + extern void set_device_ro(kdev_t dev,int flag); extern void *sys_call_table; extern struct timezone sys_tz; -extern int request_dma(unsigned int dmanr, char * deviceID); +extern int request_dma(unsigned int dmanr, const char * deviceID); extern void free_dma(unsigned int dmanr); extern spinlock_t dma_spin_lock; @@ -105,7 +113,14 @@ EXPORT_SYMBOL(kmem_cache_shrink); EXPORT_SYMBOL(kmem_cache_alloc); EXPORT_SYMBOL(kmem_cache_free); +#if defined (CONFIG_AVM_MEM_MONITORING) +EXPORT_SYMBOL(kmem_alloc_read_proc); +EXPORT_SYMBOL(kmem_alloc_notify); +EXPORT_SYMBOL(kmem_free_notify); +EXPORT_SYMBOL(kmalloc0); +#else EXPORT_SYMBOL(kmalloc); +#endif EXPORT_SYMBOL(kfree); EXPORT_SYMBOL(vfree); EXPORT_SYMBOL(__vmalloc); @@ -205,6 +220,7 @@ EXPORT_SYMBOL(block_read_full_page); EXPORT_SYMBOL(block_prepare_write); EXPORT_SYMBOL(block_sync_page); +EXPORT_SYMBOL(generic_cont_expand); EXPORT_SYMBOL(cont_prepare_write); EXPORT_SYMBOL(generic_commit_write); EXPORT_SYMBOL(block_truncate_page); @@ -407,9 +423,11 @@ EXPORT_SYMBOL(kiobuf_wait_for_io); /* dma handling */ +#ifdef CONFIG_GENERIC_ISA_DMA EXPORT_SYMBOL(request_dma); EXPORT_SYMBOL(free_dma); EXPORT_SYMBOL(dma_spin_lock); +#endif #ifdef HAVE_DISABLE_HLT EXPORT_SYMBOL(disable_hlt); EXPORT_SYMBOL(enable_hlt); @@ -436,8 +454,21 @@ EXPORT_SYMBOL(interruptible_sleep_on); EXPORT_SYMBOL(interruptible_sleep_on_timeout); EXPORT_SYMBOL(schedule); +#ifdef CONFIG_ILATENCY +EXPORT_SYMBOL(intr_sti); +EXPORT_SYMBOL(intr_cli); +EXPORT_SYMBOL(intr_restore_flags); +#endif +#ifdef CONFIG_PREEMPT +EXPORT_SYMBOL(preempt_schedule); +#endif +#ifdef CONFIG_PREEMPT_TIMES +EXPORT_SYMBOL(latency_start); +EXPORT_SYMBOL(latency_end); +EXPORT_SYMBOL(latency_check); +#endif EXPORT_SYMBOL(schedule_timeout); -EXPORT_SYMBOL(jiffies); +EXPORT_SYMBOL(jiffies_64); EXPORT_SYMBOL(xtime); EXPORT_SYMBOL(do_gettimeofday); EXPORT_SYMBOL(do_settimeofday); @@ -482,7 +513,12 @@ EXPORT_SYMBOL(seq_open); EXPORT_SYMBOL(seq_release); EXPORT_SYMBOL(seq_read); -EXPORT_SYMBOL(seq_lseek); +EXPORT_SYMBOL(seq_lseek); +#if 1 // Olivier : ugly, I know ... +asmlinkage int sys_socket(int family, int type, int protocol); +EXPORT_SYMBOL(sys_socket); +#endif + /* Program loader interfaces */ EXPORT_SYMBOL(setup_arg_pages); @@ -538,6 +574,13 @@ EXPORT_SYMBOL(strspn); EXPORT_SYMBOL(strsep); +#ifdef CONFIG_FW_LOADER +EXPORT_SYMBOL(release_firmware); +EXPORT_SYMBOL(request_firmware); +EXPORT_SYMBOL(request_firmware_nowait); +EXPORT_SYMBOL(register_firmware); +#endif + /* software interrupts */ EXPORT_SYMBOL(tasklet_hi_vec); EXPORT_SYMBOL(tasklet_vec); @@ -559,3 +602,9 @@ EXPORT_SYMBOL(tasklist_lock); EXPORT_SYMBOL(pidhash); + + +#ifdef CONFIG_TI_CUSTOM_SYS_CALLS +/* TI custom syscall */ +EXPORT_SYMBOL(ti_syscalls); +#endif