Script to indent your C and kernel files

Steps to create a script/command for indentation:

1. Create a file named "indent_cmd" without any extension. (Do not name it "indent" as there is already a command of that name in linux, which we will use too).
    # vi indent_cmd   

Installing my custom kernel on my Ubuntu Desktop

Today I had to customize my Ubuntu Precise kernel. I was required to change the number of maximum pages which can be allocated contiguously so that I could dma_alloc_coherent more memory.