Revision ec3622d963522432a873cc1b6f66fed6fceddc18 authored by Nicolas Pitre on 21 February 2007, 14:32:28 UTC, committed by Russell King on 25 February 2007, 16:41:39 UTC
aware Since TEXT_OFFSET is meant to determine RAM location for kernel use, itshould affect .data and .bss initial mapping in the XIP case. Otherwise a XIP kernel would crash if TEXT_OFFSET gets somewhat larger than 2MB. Corresponding code is also moved up a bit to be near the similar .text mapping code making the whole a bit more straight forward to understand. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
1 parent e98ff7f
current.h
#ifndef _CRIS_CURRENT_H
#define _CRIS_CURRENT_H
#include <linux/thread_info.h>
struct task_struct;
static inline struct task_struct * get_current(void)
{
return current_thread_info()->task;
}
#define current get_current()
#endif /* !(_CRIS_CURRENT_H) */
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...