# Linux Kernel Module Cheat

#### 17.3.2. Kernel command line parameters definition points

There are two methods:

- `__setup` as in:

      __setup("console=", console_setup);

- `core_param` as in:

      core_param(panic, panic_timeout, int, 0644);

`core_param` suggests how they are different:

    /**
     * core_param - define a historical core kernel parameter.

    ...

     * core_param is just like module_param(), but cannot be modular and
     * doesn't add a prefix (such as "printk.").  This is for compatibility
     * with __setup(), and it makes sense as truly core parameters aren't
     * tied to the particular file they're in.
     */