Commit 7bff606e authored by James Bottomley's avatar James Bottomley

add ARCH_SETUP hook

parent b38c7c11
#ifdef SETUP_POST
#ifndef SETUP_POST
#define ARCH_SETUP
#else
static inline char * __init machine_specific_memory_setup(void)
{
char *who;
......
......@@ -676,6 +676,7 @@ void __init setup_arch(char **cmdline_p)
rd_prompt = ((RAMDISK_FLAGS & RAMDISK_PROMPT_FLAG) != 0);
rd_doload = ((RAMDISK_FLAGS & RAMDISK_LOAD_FLAG) != 0);
#endif
ARCH_SETUP
setup_memory_region();
if (!MOUNT_ROOT_RDONLY)
......
#ifdef SETUP_POST
#ifndef SETUP_POST
#define ARCH_SETUP
#else
static inline char * __init machine_specific_memory_setup(void)
{
char *who;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment